SWDEV-552537 - Fix nvidia build failures (#1125)
* SWDEV-552537 - Fix nvidia build failures * Add string header to fix hip-tests --------- Co-authored-by: Branislav Brzak <branislav.brzak@amd.com> Co-authored-by: Danylo Lytovchenko <danylo.lytovchenko@amd.com>
This commit is contained in:
@@ -19,6 +19,7 @@ THE SOFTWARE.
|
||||
|
||||
#include <hip_test_common.hh>
|
||||
#include <float.h>
|
||||
#if defined(__HIP_PLATFORM_AMD__) || CUDA_VERSION < CUDA_12000
|
||||
texture<float, 2, hipReadModeElementType> tex;
|
||||
// Test for hipTexRefSetMipmapLevelClamp and hipTexRefGetMipmapLevelClamp, including error handling
|
||||
TEST_CASE("Unit_texRefSetGetMipmapLevelClamp") {
|
||||
@@ -55,3 +56,4 @@ TEST_CASE("Unit_texRefSetGetMipmapLevelClamp") {
|
||||
REQUIRE(err == hipErrorInvalidValue);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user