Displaying 4 results from an estimated 4 matches for "builtin_functions_ptx".
2011 Oct 24
1
[LLVMdev] Function pointer parameters in PTX backend
...the kernel
parameter attribute
.ptr, required to identify pointers [1]. I can understand that the address
space attribute (.global)
is not defined since there is no agreement on how to represent them in the
IR.
The command I use to compile is:
clang kernels/parameters.cl -include ocldef.h -include
builtin_functions_ptx.cl -ccc-host-triple ptx32 -S -o -
where ocldef.h contains the definitions of OpenCL vector data types,
builtin_functions_ptx.cl is the file provided by Justin in a previous
message [2].
Is this a bug? Or the .ptr attribute is just not supported yet ?
Thank you
Alberto
-------------------------...
2011 Nov 14
2
[LLVMdev] PTX backend fatal error
...5810dc0,
0x58105c0<LD4[%retval.i]> [ORD=110] [ID=5]
0x5810dc0: i32 = FrameIndex<0> [ORD=110] [ID=1]
0x58105c0: i32 = undef [ORD=110] [ID=2]
0x58105c0: i32 = undef [ORD=110] [ID=2]
The command I am using is:
clang kernels/fatal_error_test.cl -O0 -include ocldef.h -include
builtin_functions_ptx.cl
-D__x86_64__
-ccc-host-triple ptx32 -Xclang
-target-feature
-Xclang +ptx23 -Xclang
-target-feature
-Xclang +compute20
Any ideas ?
Best regard...
2011 Nov 14
0
[LLVMdev] PTX backend fatal error
...]> [ORD=110] [ID=5]
> 0x5810dc0: i32 = FrameIndex<0> [ORD=110] [ID=1]
> 0x58105c0: i32 = undef [ORD=110] [ID=2]
> 0x58105c0: i32 = undef [ORD=110] [ID=2]
>
> The command I am using is:
>
> clang kernels/fatal_error_test.cl -O0 -include ocldef.h -include
> builtin_functions_ptx.cl
> -D__x86_64__
> -ccc-host-triple ptx32 -Xclang
> -target-feature
> -Xclang +ptx23 -Xclang
> -target-feature
> -Xclang +compute2...
2011 Nov 14
1
[LLVMdev] PTX backend fatal error
...al.i]> [ORD=110] [ID=5]
0x5810dc0: i32 = FrameIndex<0> [ORD=110] [ID=1]
0x58105c0: i32 = undef [ORD=110] [ID=2]
0x58105c0: i32 = undef [ORD=110] [ID=2]
The command I am using is:
clang kernels/fatal_error_test.cl<http://fatal_error_test.cl> -O0 -include ocldef.h -include
builtin_functions_ptx.cl<http://builtin_functions_ptx.cl>
-D__x86_64__
-ccc-host-triple ptx32 -Xclang
-target-feature
-Xclang +ptx23 -Xclang
-target-feature
-Xclang...