You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Core.LLVMPtr's LLVM type is an opaque pointer that causes improper bitcasts when used in the context of MtlDeviceArrays. To avoid this, some manipulation of the pointer type is done in GPUCompiler.jl/src/metal.jl. I'm opening this issue so there can be some shared discussion/thoughts on more systemic resolutions of this problem.
Example code:
using Metal
using LLVM
convert(LLVM.LLVMType, MtlDeviceArray{Float32,1,1})
convert(LLVM.LLVMType, Core.LLVMPtr{Float32,1})
The text was updated successfully, but these errors were encountered:
Core.LLVMPtr's LLVM type is an opaque pointer that causes improper bitcasts when used in the context of MtlDeviceArrays. To avoid this, some manipulation of the pointer type is done in GPUCompiler.jl/src/metal.jl. I'm opening this issue so there can be some shared discussion/thoughts on more systemic resolutions of this problem.
Example code:
The text was updated successfully, but these errors were encountered: