Skip to content

Commit

Permalink
[OpenCL:Bugfix] fix bug for compile error in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaying committed Sep 6, 2023
1 parent 43b2406 commit 8514c07
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions source/backend/opencl/execution/buffer/CastBufExecution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ ErrorCode CastBufExecution::onResize(const std::vector<Tensor*>& inputs, const s
Tensor* output = outputs[0];
auto openCLBackend = static_cast<OpenCLBackend*>(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<uint32_t>(runtime->getMaxWorkGroupSize(mKernel));

Expand Down

0 comments on commit 8514c07

Please sign in to comment.