Select the OpenCLKernel calling convention for kernels when compiling
CUDA targeting SPIR-V.
In this way the generated LLVM IR will have a spir_kernel calling
convention that will be translated to an OpEntryPoint when converting
to SPIRV.
Differential D114407
[CUDA][SPIRV] Use OpenCLKernel CC for CUDA -> SPIRV dcastagna on Nov 22 2021, 6:01 PM. Authored by
Details
Select the OpenCLKernel calling convention for kernels when compiling In this way the generated LLVM IR will have a spir_kernel calling
Diff Detail
|