Displaying 4 results from an estimated 4 matches for "yweek".
Did you mean:
week
2012 Sep 04
2
[LLVMdev] [NVPTX] Backend cannot handle array-of-arrays constant
...ink?
Thanks,
- D.
2012/9/4 Dmitry N. Mikushin <maemarcus at gmail.com>:
> NVCC successfully handles the same IR, if we try to process the same
> .cu file with clang+nvptx and nvcc:
>
> CLANG/NVPTX:
> =============
>
> $ cat dayofweek.cu
> __attribute__((device)) char yweek[7][4] = { "MON", "TUE", "WED",
> "THU", "FRI", "SAT", "SUN" };
> $ clang -cc1 -emit-llvm -fcuda-is-device dayofweek.cu -o dayofweek.ll
> $ cat dayofweek.ll
> ; ModuleID = 'dayofweek.cu'
> target datalayout...
2012 Sep 04
0
[LLVMdev] [NVPTX] Backend cannot handle array-of-arrays constant
NVCC successfully handles the same IR, if we try to process the same
.cu file with clang+nvptx and nvcc:
CLANG/NVPTX:
=============
$ cat dayofweek.cu
__attribute__((device)) char yweek[7][4] = { "MON", "TUE", "WED",
"THU", "FRI", "SAT", "SUN" };
$ clang -cc1 -emit-llvm -fcuda-is-device dayofweek.cu -o dayofweek.ll
$ cat dayofweek.ll
; ModuleID = 'dayofweek.cu'
target datalayout =
"e-p:64:64:64-i1:8...
2012 Sep 03
2
[LLVMdev] [NVPTX] Backend cannot handle array-of-arrays constant
...ons.
Thanks,
- Dima.
$ cat test.ll
; ModuleID = '__kernelgen_main_module'
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:64-v128:128:128-n16:32:64"
target triple = "nvptx64-unknown-unknown"
@yweek.1533 = internal global [7 x [3 x i8]] [[3 x i8] c"MON", [3 x
i8] c"TUE", [3 x i8] c"WED", [3 x i8] c"THU", [3 x i8] c"FRI", [3 x
i8] c"SAT", [3 x i8] c"SUN"], align 4096
$ llc -march="nvptx" test.ll -o -
//
// Generate...
2012 Sep 06
0
[LLVMdev] [NVPTX] Backend cannot handle array-of-arrays constant
...try N. Mikushin <maemarcus at gmail.com>:
>> NVCC successfully handles the same IR, if we try to process the same
>> .cu file with clang+nvptx and nvcc:
>>
>> CLANG/NVPTX:
>> =============
>>
>> $ cat dayofweek.cu
>> __attribute__((device)) char yweek[7][4] = { "MON", "TUE", "WED",
>> "THU", "FRI", "SAT", "SUN" };
>> $ clang -cc1 -emit-llvm -fcuda-is-device dayofweek.cu -o dayofweek.ll
>> $ cat dayofweek.ll
>> ; ModuleID = 'dayofweek.cu'
>>...