SWDEV-430809 - Replace hipErrorSharedObjectInitFailed vs hipErrorNoBinaryForGpu
hipErrorSharedObjectInitFailed should be used for interop objects.
Change-Id: Id3bcffaac3b511021f2fd57e9b156a897b646db0
[ROCm/clr commit: 68d442f29a]
This commit is contained in:
1 parent
25a8281952
commit
7883f1e6f7
3 files changed
+4
-4
No files matched your search
@@ -598,7 +598,7 @@ hipError_t ihipLaunchKernel(const void* hostFunction, dim3 gridDim, dim3 blockDi
|
||||
int deviceId = hip::Stream::DeviceId(stream);
|
||||
hipError_t hip_error = PlatformState::instance().getStatFunc(&func, hostFunction, deviceId);
|
||||
if ((hip_error != hipSuccess) || (func == nullptr)) {
|
||||
if (hip_error == hipErrorSharedObjectInitFailed) {
|
||||
if (hip_error == hipErrorNoBinaryForGpu) {
|
||||
return hip_error;
|
||||
} else {
|
||||
return hipErrorInvalidDeviceFunction;
|
||||
|
||||
Reference in new issue
Block a user