We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c11dab commit a6f98a1Copy full SHA for a6f98a1
src/ptx.jl
@@ -160,12 +160,6 @@ function process_entry!(@nospecialize(job::CompilerJob{PTXCompilerTarget}),
160
# calling convention
161
callconv!(entry, LLVM.API.LLVMPTXKernelCallConv)
162
end
163
- else
164
- # we can't look up device functions using the CUDA APIs, so alias them to a global
165
- gv = GlobalVariable(mod, llvmtype(entry), LLVM.name(entry) * "_slot")
166
- initializer!(gv, entry)
167
- linkage!(gv, LLVM.API.LLVMLinkOnceODRLinkage)
168
- set_used!(mod, gv)
169
170
171
return entry
0 commit comments