You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 13, 2026. It is now read-only.
We need to make sure that numba_dpex generate same llvm instructions as sycl.
Proposal:
LLVM uses FileCheck because they are comparing strings generated for the different platform. We may not need this flexibility, since we want to compare generated llvm code. It is always the same since we don't have options that affect llvm generated code. We may use this feature if cuda specific llvm ir will differe.
FileCheck is just a command line tool that needs to be called. We may want to write python wrapper for it.
Possible check flow:
create sycl kernel with filecheck llvm instructions in the code
run tests on those cpp files (we want to catch if sycl behavior changes)
create same dpex kernels (just kernels without instructions)
generate llvm ir code for each dpex kernel
run FileCheck on dpex llvm code comparing it to the corresponding filecheck of sycl kernel
4 and 5 can be performed as cli commands and put in the cpp code.
We need to make sure that
numba_dpexgenerate same llvm instructions assycl.Proposal:
LLVM uses FileCheck because they are comparing strings generated for the different platform. We may not need this flexibility, since we want to compare generated llvm code. It is always the same since we don't have options that affect llvm generated code. We may use this feature if cuda specific llvm ir will differe.
FileCheck is just a command line tool that needs to be called. We may want to write python wrapper for it.
Possible check flow:
4 and 5 can be performed as cli commands and put in the cpp code.
Implementation status: