fineg74 wrote:

> > * It complains about changes in address space in multiple places. Resolved 
> > it by commenting out __gpu_constant and __gpu_local
> 
> Hmmm, might be because SPIR-V doesn't handle implicit conversions between 
> address spaces? I'll need to look into that.
> 
There is some issue in SPIR-V with  address spaces. I remember Nick fixed some 
issues but likely not all.
> > * It complain about lack of __gpu_is_ptr_local. Resolved by dummy 
> > implementation
> 
> To my knowledge, there's no way to handle this. I suppose I can provide it in 
> the header but just hard-code it to always return false.
I also don't know how to do it in pure SPIRV way and there are many other APIs 
that are not supported by SPIRV so it is probably OK to provide some dummy 
implementations

https://github.com/llvm/llvm-project/pull/174675
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to