Skip to content

Commit

Permalink
[ROCm] remove HCC references (#8070)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdaily authored Oct 27, 2023
1 parent 3fb88b3 commit a63f98a
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 a63f98a

Please sign in to comment.