afaik there is currently no option in opencl to “cross compile” to other gpu architectures. in cuda this is possible by adding the --arch option to nvcc. but please correct me if i am wrong. i really need this option since my app is distributed with binary kernels.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Cuda OpenCL comparison cuda, openCL, nvidia | 19 | 43202 | November 1, 2012 | |
| How to compile OpenCL code into binary for a GPU I do not physically have? | 9 | 3523 | March 4, 2023 | |
| Cross-vendor GPU development strategy | 20 | 7100 | January 11, 2010 | |
| CUDA is cross-nvidia device? | 1 | 720 | September 1, 2011 | |
| Cuda vs OpenCL | 49 | 262802 | December 28, 2008 | |
| Any reason to choose CUDA over OpenCL? | 27 | 26515 | August 2, 2010 | |
| OpenCL or CUDA? | 16 | 11228 | October 26, 2011 | |
| nvcc Fornicate Under the Consent of the King under windows just want to compile GPU code, but fails | 25 | 3461 | October 29, 2010 | |
| Possibility of building CUDA/openCL results from x86 machine running on Jetson Nano? | 1 | 675 | April 8, 2021 | |
| 4090 archlinux opencl is not recognized correctly | 0 | 1039 | April 23, 2023 |