From 8514c073c7e3a56508df0983b2f36131e7a58bcb Mon Sep 17 00:00:00 2001 From: xiaying Date: Wed, 6 Sep 2023 19:38:27 +0800 Subject: [PATCH] [OpenCL:Bugfix] fix bug for compile error in windows --- source/backend/opencl/execution/buffer/CastBufExecution.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source/backend/opencl/execution/buffer/CastBufExecution.cpp b/source/backend/opencl/execution/buffer/CastBufExecution.cpp index e8ed00c41..f5f7ab7bf 100644 --- a/source/backend/opencl/execution/buffer/CastBufExecution.cpp +++ b/source/backend/opencl/execution/buffer/CastBufExecution.cpp @@ -23,11 +23,6 @@ ErrorCode CastBufExecution::onResize(const std::vector& inputs, const s Tensor* output = outputs[0]; auto openCLBackend = static_cast(backend()); auto runtime = openCLBackend->getOpenCLRuntime(); -#ifdef MNN_SUPPORT_INTEL_SUBGROUP - if (runtime->isSupportedIntelSubgroup()) { - return SubgrouponResize(inputs, outputs); - } -#endif /* MNN_SUPPORT_INTEL_SUBGROUP */ mKernel = runtime->buildKernel("cast_buf", "cast_buf", mBuildOptions); mMaxWorkGroupSize = static_cast(runtime->getMaxWorkGroupSize(mKernel));