diff --git a/projects/hip/tests/src/runtimeApi/memory/hipHostRegister.cpp b/projects/hip/tests/src/runtimeApi/memory/hipHostRegister.cpp index eae73e1a65..1a1319c500 100644 --- a/projects/hip/tests/src/runtimeApi/memory/hipHostRegister.cpp +++ b/projects/hip/tests/src/runtimeApi/memory/hipHostRegister.cpp @@ -51,24 +51,28 @@ int main(){ HIPCHECK(hipHostGetDevicePointer((void**)&Ad[i], A, 0)); } - // Use device pointer inside a kernel: + // Reference the registered device pointer Ad from inside the kernel: for(int i=0;i