Displaying 3 results from an estimated 3 matches for "uint2".
Did you mean:
uint
2012 Feb 27
2
[LLVMdev] Alias in LLVM 3.0
...gnment) to those expected by the callee.
It seems LLVM 3.0 implements value-preserving alias, while previous LLVM versions implemented (perhaps by accident) bit-preserving alias.
It's worth noting that in many cases both kinds of alias produce the same results... for example, in OpenCL:
static uint2 __ SH1I422 ( uint2 foo, uint2 ) { ... }
extern __attribute__((overloadable, weak, alias("__SH1I422"))) uint2 shuffle(uint2, uint2);
extern __attribute__((overloadable, weak, alias("__SH1I422"))) int2 shuffle(int2, uint2);
Both value-preserving and bit-preserving alias do the sa...
2015 Sep 29
2
OpenCL toolset (for AMD GPU)
Hi LLVM,
I would like to compile OpenCL kernel for a specific AMD GPU target. Is it
possible with the current clang/LLVM?
I started by using `clang -x cl` but it looks like at least some OpenCL
specific headers are missing (e.g. uint2 is not recognized as a type).
Any links to documentation / tutorials very welcome. Thanks.
- Paweł
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150929/d2aa59c2/attachment.html>
2015 Sep 29
2
OpenCL toolset (for AMD GPU)
...wrote:
>> Hi LLVM,
>>
>> I would like to compile OpenCL kernel for a specific AMD GPU target. Is it
>> possible with the current clang/LLVM?
>>
>> I started by using `clang -x cl` but it looks like at least some OpenCL
>> specific headers are missing (e.g. uint2 is not recognized as a type).
>>
>> Any links to documentation / tutorials very welcome. Thanks.
>>
>
> Hi,
>
> You need to include OpenCL library headers from libclc
> (http://libclc.llvm.org/) to compile most OpenCL code.
>
> Here is an example command:
>...