From 657aa51d5d654450037ab39563f609790dfb8f8a Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Wed, 15 Nov 2017 18:23:28 +0530 Subject: [PATCH] -Fixed texture driver API sample -Added hipTexRefSetAddress and hipTexRefSetAddress2D APIs --- samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp b/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp index 87e23d6e94..73f59eacf8 100644 --- a/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp +++ b/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp @@ -30,7 +30,7 @@ THE SOFTWARE. #define fileName "tex2dKernel.code" texture tex; -bool testResult = true; +bool testResult = false; #define HIP_CHECK(cmd) \ {\ @@ -38,7 +38,7 @@ bool testResult = true; if(status != hipSuccess) {std::cout<<"error: #"<