WIP: Opencl to SPIR-V ahead-of-time compilation
This does not yet use the pystencils' cache folder or disk caching of the compilation.
This can be used to embed compiled bytecode into waLBerla executables as I do with my Vulkan wrapper. Not sure if this is a good way to go but at least we can experiment with it.
A good way to proceed with this MR is also a comparison between hip/sicl/ocl/vulkan in order to identify a suitable backend for pystencils.
Edited by Markus Holzer
Merge request reports
Activity
Filter activity
added 6 commits
- 2df2f56a - Add support to compile OpenCL to spirv
- 3ed39a5e - OpenCL: use "-cl-single-precision-constant" on single-precision kernels
- 009615a1 - Use spirv_opt also in Vulkan toolchain
- 4c506f37 - Omit spirv generation in coverage_report
- 317a368c - Support cl-std for clspv
- b97e6d9c - Use C11CodePrinter for sympy 1.7
Toggle commit listmentioned in merge request walberla/walberla!359 (closed)
requested review from @holzer
Please register or sign in to reply