Displaying 1 result from an estimated 1 matches for "vectoradd_kernel".
2013 Oct 09
2
[LLVMdev] Backend vs JIT : GPU
...t of OpenCL. Since OpenCL kernel is compiled at runtime,
hence at high level its compilation takes place in two steps:
i. source code is first converted to intermediate code.
ii. intermediate code is then translated to targeted binary code.
let say for example, we have a OpenCL kernel source code
vectorAdd_kernel.cl :
1. OpenCL compilation flow on Nvidia GPUs
a. vectorAdd_kernel.cl is first translated to LLVM IR using clang and
b. LLVM IR is converted into optimized LLVM IR using LLVM optimizer.
b. optimized LLVM IR is then translated to vectorAdd_kernel.ptx using
Back-end
c. vectorAdd_kernel.pt...