Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions torchvision/csrc/ops/cuda/deform_conv2d_kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,7 @@ inline unsigned int GET_THREADS() {
#ifdef __HIP_PLATFORM_HCC__
return 256;
#endif
if (at::cuda::getCurrentDeviceProperties()->major >= 6) {
return 1024;
}
return 512;
return 512;
}

inline unsigned int GET_BLOCKS(
Expand Down