From 67e27b3603064b2206980f34ef37ef7a5fa0080d Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Wed, 6 Nov 2019 23:47:10 -0800 Subject: [PATCH] Rename hip/hip_hcc.h to hip/hip_ext.h (#1341) * Rename hip/hip_hcc.h to hip/hip_ext.h * Deprecate hip_hcc.h --- samples/0_Intro/module_api/launchKernelHcc.cpp | 2 +- samples/0_Intro/module_api_global/runKernel.cpp | 2 +- samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/samples/0_Intro/module_api/launchKernelHcc.cpp b/samples/0_Intro/module_api/launchKernelHcc.cpp index 4ff000d1af..38cf0d414c 100644 --- a/samples/0_Intro/module_api/launchKernelHcc.cpp +++ b/samples/0_Intro/module_api/launchKernelHcc.cpp @@ -27,7 +27,7 @@ THE SOFTWARE. #include #ifdef __HIP_PLATFORM_HCC__ -#include +#include #endif #define LEN 64 diff --git a/samples/0_Intro/module_api_global/runKernel.cpp b/samples/0_Intro/module_api_global/runKernel.cpp index 7aa7f7ba2d..3a2804b7a2 100644 --- a/samples/0_Intro/module_api_global/runKernel.cpp +++ b/samples/0_Intro/module_api_global/runKernel.cpp @@ -25,7 +25,7 @@ THE SOFTWARE. #include #include #include -#include +#include #define LEN 64 #define SIZE LEN * sizeof(float) diff --git a/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp b/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp index 7c22e19d5d..b42ac86ad1 100755 --- a/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp +++ b/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp @@ -21,11 +21,9 @@ THE SOFTWARE. */ #include "hip/hip_runtime.h" -//#include "hip/hip_runtime_api.h" #include #include #include -//#include #define fileName "tex2dKernel.code"