commit | 2487af35e9cf003d3a6b3633c3cee122f555c604 | [log] [tgz] |
---|---|---|
author | Daniele Castagna <dcastagna@chromium.org> | Mon Dec 06 15:06:29 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Dec 06 15:16:35 2021 -0800 |
tree | 5bb8959c20c938b03ab31f8acbaf4b75b7c6a2bc | |
parent | 1e86f9aa7709a8936da7c9f6856423f795636519 [diff] |
[CUDA][SPIRV] Use OpenCLKernel CC for CUDA -> SPIRV 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. Reviewed By: jlebar, tra Differential Revision: https://reviews.llvm.org/D114407 GitOrigin-RevId: abbdc13e6803562bce4e42866a9ebf7f2a04a89b