We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7837acf commit dbcdff5Copy full SHA for dbcdff5
unified-runtime/source/adapters/cuda/image.cpp
@@ -763,7 +763,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urBindlessImagesImageCopyExp(
763
cuPointerGetAttribute(&memType, CU_POINTER_ATTRIBUTE_MEMORY_TYPE,
764
(CUdeviceptr)pSrc) != CUDA_SUCCESS;
765
766
- size_t CopyExtentBytes = CopyRegion->copyExtent.width;
+ size_t CopyExtentBytes = pCopyRegion->copyExtent.width;
767
void *DstWithOffset = static_cast<void *>(static_cast<char *>(pDst) +
768
pCopyRegion->dstOffset.x);
769
0 commit comments