Temporarily comment out Hcc-specific APIs for CLang compiler

Temporarily comment out Hcc-specific template functions
hipExtLaunchKernelGGL and hipOccupancyMaxPotentialBlockSize for CLang
compiler so that all test cases under hip/samples can be built
successfully for Clang + Hip/Hcc runtime.

Change-Id: Iafc761257be4a7b34eafa6759a01f369570cd6ce
이 커밋은 다음에 포함됨:
Tao Sang
2020-02-16 20:03:57 -05:00
부모 9a005eacf3
커밋 b3f445c0f5
6개의 변경된 파일과 20개의 추가작업 그리고 3개의 파일을 삭제
+3 -1
파일 보기
@@ -109,7 +109,9 @@ hipError_t hipHccModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,
hipEvent_t stopEvent = nullptr)
__attribute__((deprecated("use hipExtModuleLaunchKernel instead")));
#if !__HIP_VDI__ && defined(__cplusplus)
//#if !__HIP_VDI__ && defined(__cplusplus)
#if defined(__HIP_PLATFORM_HCC__) && GENERIC_GRID_LAUNCH == 1 && defined(__HCC__)
//kernel_descriptor and hip_impl::make_kernarg are in "grid_launch_GGL.hpp"
namespace hip_impl {
inline