SWDEV-430809 - Replace hipErrorSharedObjectInitFailed vs hipErrorNoBinaryForGpu
hipErrorSharedObjectInitFailed should be used for interop objects. Change-Id: Id3bcffaac3b511021f2fd57e9b156a897b646db0
Αυτή η υποβολή περιλαμβάνεται σε:
1 γονέας
3a6e1b8fc5
υποβολή
68d442f29a
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