Skip to content

Commit

Permalink
Revert "[ROCm] remove HCC references (#8070)"
Browse files Browse the repository at this point in the history
This reverts commit a63f98a.
  • Loading branch information
NicolasHug committed Oct 30, 2023
1 parent a8ebd0b commit d83e0d9
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 WITH_HIP
#ifdef __HIP_PLATFORM_HCC__
return 256;
#endif
return 512;
Expand Down

0 comments on commit d83e0d9

Please sign in to comment.