From 3997a72bf24b4f1ccfafc987368d008308c8390c 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 [ROCm/hip-tests commit: 657aa51d5d654450037ab39563f609790dfb8f8a] --- .../samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/projects/hip-tests/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp b/projects/hip-tests/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp index 87e23d6e94..73f59eacf8 100644 --- a/projects/hip-tests/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp +++ b/projects/hip-tests/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: #"<