Hi All,
Currently I am developing a multi-platform application using CUDA. I want to make the application to work with or without CUDA. Is there any way to create a single binary that:
- checks the availability of CUDA device, SDK, and Toolkit on run-time
- when CUDA device, SDK, and Toolkit exist, it executes CUDA-based functions.
- when CUDA device, SDK, and Toolkit don’t exist, it executes CPU-based functions.
Thank you very much in advance.
Nicky