Displaying 2 results from an estimated 2 matches for "tp58701p58874".
Did you mean:
tp58701p58770
2013 Jun 25
2
[LLVMdev] About writing a modulePass in addPreEmitPass() for NVPTX
Oops! No need of Call Graph!
In fact, what I want to do is to find which function is the kernel function
and which function is called by that kernel. Since OpenCL will make all
functions called by kernels inline, I can use function attribute: Noinline
to distinguish them.
Sorry for bothering you.
Antony Yu
--
View this message in context:
2013 Jun 25
0
[LLVMdev] About writing a modulePass in addPreEmitPass() for NVPTX
You shouldn't rely on that, its an implementation detail. Instead, you can
trace back to the original Function object and check for kernel metadata.
See http://llvm.org/docs/NVPTXUsage.html#marking-functions-as-kernels
On Tue, Jun 25, 2013 at 11:09 AM, Antony Yu <swpenim at gmail.com> wrote:
> Oops! No need of Call Graph!
> In fact, what I want to do is to find which function