Fixing/Disabling tests on nvcc path

Change-Id: I7ed4a1246943867482ff595d5f98bb25bd79074b
This commit is contained in:
Jatin Chaudhary
2020-07-22 09:27:16 -04:00
committed by Jatin Chaudhary
parent eb94afcff9
commit e7eaafe165
10 changed files with 30 additions and 13 deletions
+2 -1
View File
@@ -18,7 +18,7 @@ THE SOFTWARE.
*/
/* HIT_START
* BUILD: %t %s ../test_common.cpp
* BUILD: %t %s ../test_common.cpp EXCLUDE_HIP_PLATFORM nvcc
* TEST: %t
* HIT_END
*/
@@ -43,6 +43,7 @@ void single_process() {
// Negative, Make sure we return error when an offset of original ptr is passed
ipc_offset_dptr = ipc_dptr + (OFFSET * sizeof(int));
// HIP API return value differs from CUDA's return type
assert(hipErrorInvalidDevicePointer == hipIpcGetMemHandle(&ipc_offset_handle, ipc_offset_dptr));
// Get handle for the device_ptr