From e274037cfbf9dd2db7f2a85a6c9a7b45e82050b6 Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Fri, 13 May 2022 14:05:35 +0530 Subject: [PATCH] Fix typo in 11_texture_driver sample --- samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp b/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp index 161b3ea93d..744ca2d965 100644 --- a/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp +++ b/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp @@ -130,7 +130,7 @@ bool runTest(int argc, char** argv) { inline bool isImageSupported() { int imageSupport = 1; #ifdef __HIP_PLATFORM_AMD__ - HIPCHECK(hipDeviceGetAttribute(&imageSupport, hipDeviceAttributeImageSupport, + HIP_CHECK(hipDeviceGetAttribute(&imageSupport, hipDeviceAttributeImageSupport, 0)); #endif return imageSupport != 0;