1 2 3 4 5 6
import os dir = os.path.split(os.path.realpath(__file__))[0] kernel = open(dir + '/kernel.cu').read() daq = open(dir + '/daq.cu').read()