Reputation: 901
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?
Upvotes: 7
Views: 7253
Reputation: 27809
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.
Upvotes: 5
Reputation: 29811
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.
Upvotes: 2