numba-dpex
numba-dpex copied to clipboard
Add tests to validate LLVM instructions generated by numba-dpex with dpcpp
Numba-dpex only has end-to-end tests for kernels. There are no tests to validate the LLVM IR that is generated for a device with corresponding IR generated by dpcpp.
There needs to be a test suite that can use FILECHECK to validate code generated by numba-dpex for all intrinsic in numba-dpex/ocl
and possibly for all math functions as well for different types of dtypes.
Possible source of reference: https://github.com/intel/llvm/tree/sycl/clang/test/CodeGenSYCL