search for: kernel_arg_addr_spac

Displaying 9 results from an estimated 9 matches for "kernel_arg_addr_spac".

Did you mean: kernel_arg_addr_space
2016 Sep 12
2
builtins name mangling in SPIR 2.0
...he "spir64-unknown-unknown" target, Clang generates IR without mangling the builtins, e.g. for: __kernel void input_zip_int(__global int *in0) { *in0 = get_global_id(0); } clang generates: define spir_kernel void @input_zip_int(i32 addrspace(1)* nocapture %in0) local_unnamed_addr #0 !kernel_arg_addr_space !3 !kernel_arg_access_qual !4 !kernel_arg_type !5 !kernel_arg_base_type !5 !kernel_arg_type_qual !6 { entry: %call = tail call spir_func i128 @get_global_id(i32 0) #2 %conv = trunc i128 %call to i32 store i32 %conv, i32 addrspace(1)* %in0, align 4, !tbaa !7 ret void } In this case, get_gl...
2016 Sep 12
2
builtins name mangling in SPIR 2.0
...gt; builtins, e.g. for: > > > > __kernel void input_zip_int(__global int *in0) { > > *in0 = get_global_id(0); > > } > > > > clang generates: > > > > define spir_kernel void @input_zip_int(i32 addrspace(1)* nocapture %in0) > local_unnamed_addr #0 !kernel_arg_addr_space !3 !kernel_arg_access_qual !4 > !kernel_arg_type !5 !kernel_arg_base_type !5 !kernel_arg_type_qual !6 { > > entry: > > %call = tail call spir_func i128 @get_global_id(i32 0) #2 > > %conv = trunc i128 %call to i32 > > store i32 %conv, i32 addrspace(1)* %in0, align 4...
2016 Sep 16
2
builtins name mangling in SPIR 2.0
...he "spir64-unknown-unknown" target, Clang generates IR without mangling the builtins, e.g. for: __kernel void input_zip_int(__global int *in0) { *in0 = get_global_id(0); } clang generates: define spir_kernel void @input_zip_int(i32 addrspace(1)* nocapture %in0) local_unnamed_addr #0 !kernel_arg_addr_space !3 !kernel_arg_access_qual !4 !kernel_arg_type !5 !kernel_arg_base_type !5 !kernel_arg_type_qual !6 { entry: %call = tail call spir_func i128 @get_global_id(i32 0) #2 %conv = trunc i128 %call to i32 store i32 %conv, i32 addrspace(1)* %in0, align 4, !tbaa !7 ret void } In this case, get_gl...
2016 Jan 11
4
Some llvm questions (for tgsi backend)
...or-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #2 = { nounwind } !opencl.kernels = !{!0} !llvm.ident = !{!6} !0 = !{void (i32 addrspace(1)*, i32 addrspace(1)*)* @test_kern, !1, !2, !3, !4, !5} !1 = !{!"kernel_arg_addr_space", i32 1, i32 1} !2 = !{!"kernel_arg_access_qual", !"none", !"none"} !3 = !{!"kernel_arg_type", !"uint*", !"uint*"} !4 = !{!"kernel_arg_base_type", !"uint*", !"uint*"} !5 = !{!"kernel_arg_type_qual&q...
2016 Sep 18
2
builtins name mangling in SPIR 2.0
...he "spir64-unknown-unknown" target, Clang generates IR without mangling the builtins, e.g. for: __kernel void input_zip_int(__global int *in0) { *in0 = get_global_id(0); } clang generates: define spir_kernel void @input_zip_int(i32 addrspace(1)* nocapture %in0) local_unnamed_addr #0 !kernel_arg_addr_space !3 !kernel_arg_access_qual !4 !kernel_arg_type !5 !kernel_arg_base_type !5 !kernel_arg_type_qual !6 { entry: %call = tail call spir_func i128 @get_global_id(i32 0) #2 %conv = trunc i128 %call to i32 store i32 %conv, i32 addrspace(1)* %in0, align 4, !tbaa !7 ret void } In this case, get_gl...
2016 May 24
1
BitcodeReader non explicit error
...!0 = !{void (double addrspace(3)*, double addrspace(3)*, double addrspace(1)*, i32)* @vector_add, !1, !2, !3, !4, !5, !6} !1 = !{!"kernel_arg_addr_space", i32 3, i32 3, i32 1, i32 0} !2 = !{!"kernel_arg_access_qual", !"none", !"none", !&...
2016 Jan 12
1
Some llvm questions (for tgsi backend)
...="false" "use-soft-float"="false" } >> attributes #2 = { nounwind } >> >> !opencl.kernels = !{!0} >> !llvm.ident = !{!6} >> >> !0 = !{void (i32 addrspace(1)*, i32 addrspace(1)*)* @test_kern, !1, !2, !3, !4, !5} >> !1 = !{!"kernel_arg_addr_space", i32 1, i32 1} >> !2 = !{!"kernel_arg_access_qual", !"none", !"none"} >> !3 = !{!"kernel_arg_type", !"uint*", !"uint*"} >> !4 = !{!"kernel_arg_base_type", !"uint*", !"uint*"} >>...
2016 Jan 11
0
Some llvm questions (for tgsi backend)
...safe-fp-math"="false" > "use-soft-float"="false" } > attributes #2 = { nounwind } > > !opencl.kernels = !{!0} > !llvm.ident = !{!6} > > !0 = !{void (i32 addrspace(1)*, i32 addrspace(1)*)* @test_kern, !1, !2, !3, > !4, !5} > !1 = !{!"kernel_arg_addr_space", i32 1, i32 1} > !2 = !{!"kernel_arg_access_qual", !"none", !"none"} > !3 = !{!"kernel_arg_type", !"uint*", !"uint*"} > !4 = !{!"kernel_arg_base_type", !"uint*", !"uint*"} > !5 = !{!"ke...
2016 Jan 11
0
Some llvm questions (for tgsi backend)
..."unsafe-fp-math"="false" "use-soft-float"="false" } > attributes #2 = { nounwind } > > !opencl.kernels = !{!0} > !llvm.ident = !{!6} > > !0 = !{void (i32 addrspace(1)*, i32 addrspace(1)*)* @test_kern, !1, !2, !3, !4, !5} > !1 = !{!"kernel_arg_addr_space", i32 1, i32 1} > !2 = !{!"kernel_arg_access_qual", !"none", !"none"} > !3 = !{!"kernel_arg_type", !"uint*", !"uint*"} > !4 = !{!"kernel_arg_base_type", !"uint*", !"uint*"} > !5 = !{!"ke...