alan-baker
alan-baker
#610 added `sub_group_barrier` support.
Why are kernel parameters not supported? I would have thought that would be necessary to handle most code using long vectors. Does parameter handling include support for pointers to long...
The overall direction sounds reasonable. I agree it's good to implement this incrementally. We can improve the conversion later if necessary. Smaller PRs are generally preferable to single large ones.
We can leave this issue open at least until someone starts tackling the remaining work. Thanks for all the contributions!
From LLVM to SPIR-V there is clspv (OpenCL C to shader SPIR-V) and the SPIRV-LLVM-Translator (bidirectional translation between kernel SPIR-V and OpenCL C LLVM IR, but doesn't do shader SPIR-V)....
As you note this is a side effect of how get_local_size is implemented. Internally clspv has a variable to load the size from and that variable can only get a...
These should likely be treated similarly to how constant data initializers are treated currently. Allocate a descriptor and binding and record the initializer if any.
There are no near term plans to implement support for SPV_KHR_physical_storage_buffer.
For the SPIRVProducer, something along the lines of splitting getSPIRVType into two methods: getSPIRVType and getSPIRVPointerType should work. The new method would look something like: ```c++ SPIRVID SPIRVProducerPass::getSPIRVPointerType(Type *PtrTy, Type*...
@callumfare I have updated this issue with the task list for this conversion in terms of known issues. Obviously considerable testing will be required. If you wish to contribute to...