Displaying 4 results from an estimated 4 matches for "ocldef".
2011 Oct 24
1
[LLVMdev] Function pointer parameters in PTX backend
...LVM backend lacks 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
A...
2011 Nov 14
2
[LLVMdev] PTX backend fatal error
...load 0x57fa148, 0x5810dc0,
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 +co...
2011 Nov 14
0
[LLVMdev] PTX backend fatal error
...8105c0<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
>...
2011 Nov 14
1
[LLVMdev] PTX backend fatal error
...105c0<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<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...