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?
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With