Skip to content

Commit c01c24f

Browse files
committed
Fixed path issue with kernel file in test_opencl.py
1 parent 41b4760 commit c01c24f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/FAST/Python/Tests/test_opencl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def __init__(self, useIndex=False, missingArgument=False, loadFromFile=False):
1414

1515
# Create an image invert OpenCL kernel
1616
if loadFromFile:
17-
self.createOpenCLProgram('opencl_kernel.cl')
17+
self.createOpenCLProgram(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'opencl_kernel.cl'))
1818
else:
1919
self.createInlineOpenCLProgram(
2020
'''

0 commit comments

Comments
 (0)