Displaying 2 results from an estimated 2 matches for "metadata_kernel".
2012 May 07
2
[LLVMdev] NVPTX annotation metadata emission
Hi everybody,
I have noticed that the new NVPTX backend requires new metadata to identify
the kernels in the module:
define void @metadata_kernel(float* %a) {
ret void
}
!nvvm.annotations = !{!1}
!1 = metadata !{void (float*)* @metadata_kernel, metadata !"kernel", i32 1}
Is clang going to support the emission of this metadata soon ? Or do I have
to write it on my own ? :)
Thanks,
Alberto
-------------- next part --------------...
2012 May 07
0
[LLVMdev] NVPTX annotation metadata emission
...2012 6:09 AM
> To: LLVM Developers Mailing List; clang-dev Developers
> Subject: [LLVMdev] NVPTX annotation metadata emission
>
> Hi everybody,
>
> I have noticed that the new NVPTX backend requires new metadata to
> identify the kernels in the module:
>
> define void @metadata_kernel(float* %a) {
> ret void
> }
>
>
> !nvvm.annotations = !{!1}
> !1 = metadata !{void (float*)* @metadata_kernel, metadata !"kernel", i32 1}
>
>
> Is clang going to support the emission of this metadata soon ? Or do I have to
> write it on my own ? :)
>...