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


[ROCm/hip commit: b3f445c0f5]
이 커밋은 다음에 포함됨:
Tao Sang가 2020-02-16 22:26:47 -05:00를 커밋했습니다
1 부모 adadf90ff5
커밋 eb5fed63c1
6 파일이 변경됨
+20 -3

검색과 일치하는 파일 없음

+2 -1
파일 보기
@@ -30,7 +30,7 @@ THE SOFTWARE.
void test(size_t N) {
size_t Nbytes = N * sizeof(int);
#if defined(__HIP_PLATFORM_HCC__) && GENERIC_GRID_LAUNCH == 1 && defined(__HCC__)
int *A_d, *B_d, *C_d;
int *A_h, *B_h, *C_h;
@@ -51,6 +51,7 @@ void test(size_t N) {
HIPCHECK(hipDeviceSynchronize());
HipTest::checkVectorADD(A_h, B_h, C_h, N);
#endif
}
int main(int argc, char* argv[]) {