File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
aten/src/ATen/native/cuda Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,7 @@ const uint32_t block_size_bound = 256;
34
34
const uint32_t grid_size_bound = 4 ;
35
35
// number of randoms given by distributions like curand_uniform4, curand_uniform2_double
36
36
// used in calculating philox offset.
37
- #if defined(USE_ROCM)
38
- const uint32_t curand4_engine_calls = 8 ;
39
- #else
40
37
const uint32_t curand4_engine_calls = 4 ;
41
- #endif
42
38
43
39
// utility function that calculates proper philox_offset
44
40
// for distributions utilizing TensorIterator. For distributions using
Original file line number Diff line number Diff line change @@ -18,9 +18,5 @@ constexpr uint32_t num_threads() {
18
18
}
19
19
#endif
20
20
21
- #if defined(USE_ROCM)
22
- constexpr int thread_work_size () { return 8 ; }
23
- #else
24
21
constexpr int thread_work_size () { return 4 ; }
25
- #endif
26
22
constexpr int block_work_size () { return thread_work_size () * num_threads (); }
You can’t perform that action at this time.
0 commit comments