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