Merge pull request #7094 from luotao1/warning

fix some warning
del_some_in_makelist
Tao Luo 7 years ago committed by GitHub
commit 1831176764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -62,7 +62,7 @@ struct ForRange<CUDADeviceContext> {
template <typename Function>
inline void operator()(Function func) const {
constexpr size_t num_threads = 1024;
constexpr int num_threads = 1024;
int block_size = limit_ <= num_threads ? limit_ : num_threads;
int grid_size = (limit_ + num_threads - 1) / num_threads;

Loading…
Cancel
Save