Displaying 5 results from an estimated 5 matches for "ocl_kernel".
Did you mean:
cl_kernel
2011 Oct 13
3
[LLVMdev] RFC: Representation of OpenCL Memory Spaces
...fic annotations can be provided on types. This can take the
form of metadata, or additional LLVM IR attributes on types and parameters,
such as:
; ModuleID = 'test1.cl'
target datalayout = "e-p:32:32-i64:64:64-f64:64:64-n1:8:16:32:64"
target triple = "ptx32--"
define *ocl_kernel* void @foo(float* nocapture *ocl_global* %a, float*
nocapture *ocl_local* %b) nounwind noinline {
entry:
%0 = load float* %a, align 4
store float %0, float* %b, align 4
ret void
}
Instead of extending the LLVM IR language, this information could also be
encoded as metadata by either (1) emit...
2011 Oct 13
4
[LLVMdev] [cfe-dev] RFC: Representation of OpenCL Memory Spaces
.... This can take the
> form of metadata, or additional LLVM IR attributes on types and parameters,
> such as:
>
> ; ModuleID = 'test1.cl'
> target datalayout = "e-p:32:32-i64:64:64-f64:64:64-n1:8:16:32:64"
> target triple = "ptx32--"
>
> define *ocl_kernel* void @foo(float* nocapture *ocl_global* %a, float*
> nocapture *ocl_local* %b) nounwind noinline {
> entry:
> %0 = load float* %a, align 4
> store float %0, float* %b, align 4
> ret void
> }
>
> Instead of extending the LLVM IR language, this information could also b...
2011 Oct 13
1
[LLVMdev] [cfe-dev] RFC: Representation of OpenCL Memory Spaces
...metadata, or additional LLVM IR attributes on types and parameters,
> > such as:
> >
> > ; ModuleID = 'test1.cl'
> > target datalayout = "e-p:32:32-i64:64:64-f64:64:64-n1:8:16:32:64"
> > target triple = "ptx32--"
> >
> > define *ocl_kernel* void @foo(float* nocapture *ocl_global* %a, float*
> > nocapture *ocl_local* %b) nounwind noinline {
> > entry:
> > %0 = load float* %a, align 4
> > store float %0, float* %b, align 4
> > ret void
> > }
> >
> > Instead of extending the LLVM IR...
2011 Oct 13
0
[LLVMdev] [cfe-dev] RFC: Representation of OpenCL Memory Spaces
...data, or additional LLVM IR attributes on types and
> parameters,
> > such as:
> >
> > ; ModuleID = 'test1.cl'
> > target datalayout = "e-p:32:32-i64:64:64-f64:64:64-n1:8:16:32:64"
> > target triple = "ptx32--"
> >
> > define *ocl_kernel* void @foo(float* nocapture *ocl_global* %a,
> float*
> > nocapture *ocl_local* %b) nounwind noinline {
> > entry:
> > %0 = load float* %a, align 4
> > store float %0, float* %b, align 4
> > ret void
> > }
> >
> > Instead of extending the LLV...
2011 Oct 13
0
[LLVMdev] [cfe-dev] RFC: Representation of OpenCL Memory Spaces
...data, or additional LLVM IR attributes on types and
> parameters,
> > such as:
> >
> > ; ModuleID = 'test1.cl'
> > target datalayout = "e-p:32:32-i64:64:64-f64:64:64-n1:8:16:32:64"
> > target triple = "ptx32--"
> >
> > define *ocl_kernel* void @foo(float* nocapture *ocl_global* %a, float*
> > nocapture *ocl_local* %b) nounwind noinline {
> > entry:
> > %0 = load float* %a, align 4
> > store float %0, float* %b, align 4
> > ret void
> > }
> >
> > Instead of extending the LLVM IR...