P4 to Git Change 1759248 by cpaquot@cpaquot-ocl-lc-lnx on 2019/03/20 18:32:19
SWDEV-183452 - [HIP] Typo of | instead of &
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#47 edit
[ROCm/clr commit: 9682f81a75]
This commit is contained in:
@@ -1438,7 +1438,7 @@ hipError_t hipPointerGetAttributes(hipPointerAttribute_t* attributes, const void
|
||||
int device = 0;
|
||||
|
||||
if (memObj != nullptr) {
|
||||
attributes->memoryType = (CL_MEM_SVM_FINE_GRAIN_BUFFER | memObj->getMemFlags())? hipMemoryTypeHost : hipMemoryTypeDevice;
|
||||
attributes->memoryType = (CL_MEM_SVM_FINE_GRAIN_BUFFER & memObj->getMemFlags())? hipMemoryTypeHost : hipMemoryTypeDevice;
|
||||
attributes->hostPointer = memObj->getSvmPtr();
|
||||
attributes->devicePointer = memObj->getSvmPtr();
|
||||
attributes->isManaged = 0;
|
||||
|
||||
مرجع در شماره جدید
Block a user