Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 OpenCL 中,“PTX(就像 java 中的字节码)到目标转换器”是一个解释器(就像我们在 java 中的字节码一样)还是一个提前的汇编器?
Java 是即时编译的,而不是解释的。
PTX 也在加载时编译。
不确定 OpenCL,但 CUDA 还可以将给定架构集的预编译二进制文件存储在可执行文件中(以及 JIT 其余部分)。它是 CUDA 编译器中的一个选项。