try
This commit is contained in:
parent
e142b52540
commit
288193cf82
@ -56,7 +56,7 @@
|
||||
#define cudaPointerGetAttributes hipPointerGetAttributes
|
||||
|
||||
/* hipMemoryTypeUnregistered not supported */
|
||||
#define cudaMemoryTypeUnregistered hipMemoryTypeUnified
|
||||
#define cudaMemoryTypeUnregistered hipMemoryTypeUnregistered
|
||||
#define cudaMemoryTypeUnified hipMemoryTypeUnified
|
||||
#define cudaMemoryTypeHost hipMemoryTypeHost
|
||||
|
||||
|
||||
@ -100,7 +100,7 @@ bool ArrayInterfaceHandler::IsCudaPtr(void const* ptr) {
|
||||
return true;
|
||||
default:
|
||||
LOG(WARNING) << "Unknown memory type: " << attr.type;
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
LOG(WARNING) << "hipPointerGetAttributes failed with error: "
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user