[CUDA] Disable registering surfaces and textures with the new driver
Summary: These runtime calls don't seem to be supported anymore, disable them for now.
This commit is contained in:
parent
774b957786
commit
cb2f340850
@ -121,11 +121,9 @@
|
||||
// CUDA-NEXT: br label %if.end
|
||||
|
||||
// CUDA: sw.surface:
|
||||
// CUDA-NEXT: call void @__cudaRegisterSurface(ptr %0, ptr %addr, ptr %name, ptr %name, i32 %textype, i32 %extern)
|
||||
// CUDA-NEXT: br label %if.end
|
||||
|
||||
// CUDA: sw.texture:
|
||||
// CUDA-NEXT: call void @__cudaRegisterTexture(ptr %0, ptr %addr, ptr %name, ptr %name, i32 %textype, i32 %normalized, i32 %extern)
|
||||
// CUDA-NEXT: br label %if.end
|
||||
|
||||
// CUDA: if.end:
|
||||
|
||||
@ -916,7 +916,8 @@ wrapDeviceImages(ArrayRef<std::unique_ptr<MemoryBuffer>> Buffers,
|
||||
case OFK_Cuda:
|
||||
if (Error Err = offloading::wrapCudaBinary(
|
||||
M, BuffersToWrap.front(),
|
||||
offloading::getOffloadEntryArray(M, "cuda_offloading_entries")))
|
||||
offloading::getOffloadEntryArray(M, "cuda_offloading_entries"),
|
||||
/*Suffix=*/"", /*EmitSurfacesAndTextures=*/false))
|
||||
return std::move(Err);
|
||||
break;
|
||||
case OFK_HIP:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user