Closed jjfumero closed 2 years ago
Thread info was disabled for single-thread OpenCL generated programs. This PR supports debug info also for single thread kernels. This is reachable from automatic reductions in the final merge step, for example.
This fixes issue #197
This PR only affects the OpenCL Backend
Mark the OS where this PR is tested.
If it is applicable, check your changes on FPGAs.
$ make BACKEND=opencl $ tornado --threadInfo -ea -Dtornado.unittests.verbose=True -Xmx6g -Dtornado.recover.bailout=False -m tornado.unittests/uk.ac.manchester.tornado.unittests.tools.TornadoTestRunner uk.ac.manchester.tornado.unittests.reductions.TestReductionsFloats#testComputeAverage
Note: first we need to merge #196
Description
Thread info was disabled for single-thread OpenCL generated programs. This PR supports debug info also for single thread kernels. This is reachable from automatic reductions in the final merge step, for example.
This fixes issue #197
Backend/s tested
This PR only affects the OpenCL Backend
OS tested
Mark the OS where this PR is tested.
Did you check on FPGAs?
If it is applicable, check your changes on FPGAs.
How to test the new patch?