Fix issues related to -Werror in hip tests (#396)

* Fix issues related to -Werror
* Correct the skipped tests

[ROCm/hip-tests commit: 605d5eee5d]
This commit is contained in:
Satyanvesh Dittakavi
2023-08-19 21:38:59 +05:30
committato da GitHub
parent 0f844d75a4
commit 039a0b615a
22 ha cambiato i file con 93 aggiunte e 77 eliminazioni
@@ -48,7 +48,7 @@ class TextureObjectTestWrapper {
}
channel_desc = hipCreateChannelDesc(32, 0, 0, 0, hipChannelFormatKindFloat);
hipMallocArray(&array_member, &channel_desc, width);
HIP_CHECK(hipMallocArray(&array_member, &channel_desc, width));
HIP_CHECK(
hipMemcpy2DToArray(array_member, 0, 0, host_data_, size, size, 1, hipMemcpyHostToDevice));