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 584553e commit 8961e19Copy full SHA for 8961e19
offload/plugins-nextgen/amdgpu/src/rtl.cpp
@@ -3040,9 +3040,10 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
3040
return false;
3041
3042
// Checks if the pointer is known by HSA and accessible by the device
3043
- for (uint32_t i = 0; i < Count; i++)
+ for (uint32_t i = 0; i < Count; i++) {
3044
if (Agents[i].handle == getAgent().handle)
3045
return Info.sizeInBytes >= Size;
3046
+ }
3047
3048
// If the pointer is unknown to HSA it's assumed a host pointer
3049
// in that case the device can access it on unified memory support is
0 commit comments