4 ms·
OpenCL is deprecated. Apple has ditched it for metal. AMD has ditched it for ROCm which is just a AMD compiler for CUDA PTX.
by thou4o2i34u234 3y ago
OpenCL is deprecated.
Apple has ditched it for metal.
AMD has ditched it for ROCm which is just a AMD compiler for CUDA PTX.
- zorgmonkey 3y agoROCm does not compile PTX IR to AMD assembly, if it did you'd be able to run nearly any compiled CUDA program on and AMD GPU without the source. ROCm is a source level compiler for CUDA (technically HIP is the actual compiler, but whatever), it allows you to a substantial fraction of the CUDA APIs. This notably also means that any Nvidia open source library that uses inline PTX assembly won't work, but fortunately AMD does have alternatives to many of the Nvidia libraries.
- synergy20 3y agoit's not, Nvidia just added support to OpenCL 3.0, AMD also continues to support it. Apple always does things its own way.
- pjmlp 3y agoOpenCL 3.0 is basically OpenCL 1.0 rebranded, hence why NVidia didn't had any issue adding support for what they already had anyway.