This commit is contained in:
Hendrik Groove 2024-10-20 02:41:57 +02:00
parent e142b52540
commit 288193cf82
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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: "