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));