Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AMD equivalent of the CUDA Driver API?

Tags:

cuda

opencl

CUDA has both runtime API and driver API. What is equivalent to this in AMD?. Can I get more control if I somehow modify the IL in llvm?

like image 831
captain Avatar asked Aug 18 '11 15:08

captain


2 Answers

The analog of the CUDA driver API on the AMD platform is OpenCL. I am aware of no analog of the CUDA runtime API on the AMD platform at this time.

like image 68
harrism Avatar answered Dec 03 '22 16:12

harrism


I believe the closest match to the NVIDIA CUDA driver API would be AMD CAL which ships with the AMD APP SDK. AMD CAL does not only offer a more low-level host API than OpenCL, but also a more low-level compute kernel language called AMD IL, which also is the intermediate language OpenCL compiles to.

like image 23
sschuberth Avatar answered Dec 03 '22 16:12

sschuberth