SWDEV-1 - Merge github PRs to amd-staging
- https://github.com/ROCm/hip-tests/pull/154 - https://github.com/ROCm/hip-tests/pull/438 - https://github.com/ROCm/hip-tests/pull/425 - https://github.com/ROCm/hip-tests/pull/424 - https://github.com/ROCm/hip-tests/pull/423 - https://github.com/ROCm/hip-tests/pull/365 - https://github.com/ROCm/hip-tests/pull/356 - https://github.com/ROCm/hip-tests/pull/279 - https://github.com/ROCm/hip-tests/pull/274 - https://github.com/ROCm/hip-tests/pull/190 - https://github.com/ROCm/hip-tests/pull/189 - https://github.com/ROCm/hip-tests/pull/188 - https://github.com/ROCm/hip-tests/pull/156 - https://github.com/ROCm/hip-tests/pull/49 - https://github.com/ROCm/hip-tests/pull/439 - https://github.com/ROCm/hip-tests/pull/437 - https://github.com/ROCm/hip-tests/pull/436 - https://github.com/ROCm/hip-tests/pull/435 - https://github.com/ROCm/hip-tests/pull/193 Change-Id: I2529d0baf0f8d47d6215863321720cde2b1a846c
This commit is contained in:
@@ -38,7 +38,7 @@ TEST_CASE("Unit_hipGraphicsSubResourceGetMappedArray_Positive_Basic") {
|
||||
|
||||
HIP_CHECK(hipGraphicsMapResources(1, &tex_resource, 0));
|
||||
|
||||
hipArray* image_devptr = nullptr;
|
||||
hipArray_t image_devptr = nullptr;
|
||||
HIP_CHECK(hipGraphicsSubResourceGetMappedArray(&image_devptr, tex_resource, 0, 0));
|
||||
|
||||
REQUIRE(image_devptr != nullptr);
|
||||
@@ -60,7 +60,7 @@ TEST_CASE("Unit_hipGraphicsSubResourceGetMappedArray_Negative_Parameters") {
|
||||
|
||||
HIP_CHECK(hipGraphicsMapResources(1, &tex_resource, 0));
|
||||
|
||||
hipArray* image_devptr = nullptr;
|
||||
hipArray_t image_devptr = nullptr;
|
||||
|
||||
SECTION("array == nullptr") {
|
||||
HIP_CHECK(hipGraphicsSubResourceGetMappedArray(nullptr, tex_resource, 0, 0));
|
||||
|
||||
Reference in New Issue
Block a user