Skip to content

Commit

Permalink
[fbsync] [ROCm] remove HCC references (#8070)
Browse files Browse the repository at this point in the history
Reviewed By: vmoens

Differential Revision: D50789090

fbshipit-source-id: 569878f95d9adc67f4d6f425cef0aa35bc4d4b4c
  • Loading branch information
NicolasHug authored and facebook-github-bot committed Nov 13, 2023
1 parent d9a5ed1 commit 235f632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchvision/csrc/ops/cuda/deform_conv2d_kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ namespace {
const int kMaxParallelImgs = 32;

inline unsigned int GET_THREADS() {
#ifdef __HIP_PLATFORM_HCC__
#ifdef WITH_HIP
return 256;
#endif
return 512;
Expand Down

0 comments on commit 235f632

Please sign in to comment.