2
0

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-tests commit: 6eabd2e7dd]
Este cometimento está contido em:
Tao Sang
2020-02-16 20:03:57 -05:00
ascendente ce2db2ba67
cometimento 686aac3878
2 ficheiros modificados com 9 adições e 1 eliminações
@@ -109,7 +109,7 @@ int main() {
/***********************************************************************************/
//Timing directly the dispatch
#ifdef __HIP_PLATFORM_HCC__
#if defined(__HIP_PLATFORM_HCC__) && GENERIC_GRID_LAUNCH == 1 && defined(__HCC__)
for (auto i = 0; i < TOTAL_RUN_COUNT; ++i) {
hipExtLaunchKernelGGL((EmptyKernel), dim3(NUM_GROUPS), dim3(GROUP_SIZE), 0, stream0, start, stop, 0);
hipEventSynchronize(stop);