jaidotsh

Adding a GPU optimization pass in OpenCL LLVM

Discussion created by jaidotsh on Sep 18, 2011
Latest reply on Sep 19, 2011 by MicahVillmow

Hello,

I wanted to add an optimization pass for the OpenCL compiler. It involves modifying the kernel code. Is adding pass to OpenCL compiler similar to that of adding a pass as in http://llvm.org/docs/WritingAnLLVMPass.html . If there is a difference, how do I go about adding a pass to this compiler?

Outcomes