numba-dpex icon indicating copy to clipboard operation
numba-dpex copied to clipboard

Add tests to validate LLVM instructions generated by numba-dpex with dpcpp

Open diptorupd opened this issue 1 year ago • 1 comments

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.

diptorupd avatar Mar 12 '23 17:03 diptorupd

Possible source of reference: https://github.com/intel/llvm/tree/sycl/clang/test/CodeGenSYCL

diptorupd avatar Mar 31 '23 02:03 diptorupd