diff --git a/cpp/neuralnet/opencltuner.cpp b/cpp/neuralnet/opencltuner.cpp index a13e025d4..7f5ba0d13 100644 --- a/cpp/neuralnet/opencltuner.cpp +++ b/cpp/neuralnet/opencltuner.cpp @@ -4542,7 +4542,8 @@ void OpenCLTuner::tune( static constexpr double FP16_TENSORCORE_REQUIRED_SPEEDUP = 0.9; bool foundGoodFP16 = false; - bool shouldTestFP16TensorCores = testFP16TensorCoresMode == enabled_t::True || (testFP16TensorCoresMode == enabled_t::Auto && !foundGoodFP16); + //Mali's compiler aborts the whole process on the wmma kernels instead of failing the build + bool shouldTestFP16TensorCores = testFP16TensorCoresMode == enabled_t::True || (testFP16TensorCoresMode == enabled_t::Auto && !foundGoodFP16 && device->info.name.find("Mali") == string::npos); if(shouldTestFP16TensorCores) { { OpenCLTuneParams result16;