SWDEV-438503 - Enable unified memory test

Change-Id: I7bfc8600521d78d8c73ab626f9846cd268651279


[ROCm/hip-tests commit: 22485fc93f]
Bu işleme şunda yer alıyor:
taosang2 authored and Rakesh Roy committed 2025-01-13 13:49:55 -05:00
1 ebeveyn 0c242e09cb
işleme b543624e2c
2 files changed
+39 -8

No files matched your search

+1 -1
Dosyayı Görüntüle
@@ -98,7 +98,7 @@ TEST_CASE("test_svm_byte_granularity") {
unsigned int** error_counts = (unsigned int**)malloc(sizeof(void*) * num_devices);
for(unsigned int i=0; i < num_devices; i++) {
// hipHostMallocNonCoherent means CL_MEM_SVM_FINE_GRAIN_BUFFER + CL_MEM_SVM_ATOMICS
// hipHostMallocCoherent means CL_MEM_SVM_FINE_GRAIN_BUFFER + CL_MEM_SVM_ATOMICS
// We need atomic inc among different GPUs
HIP_CHECK(hipHostMalloc(&error_counts[i], sizeof(unsigned int) * num_elements,
hipHostMallocCoherent));