We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a656bd0 commit f732f37Copy full SHA for f732f37
aten/src/ATen/native/cuda/TensorFactories.cu
@@ -59,7 +59,7 @@ Tensor& randperm_out_cuda(Tensor& result, int64_t n, Generator* generator) {
59
// Generate random values for the keys array
60
AT_DISPATCH_ALL_TYPES(
61
result_tmp.type(), "randperm_out_cuda", [&] {
62
- using cuda_scalar_t = cuda::type<scalar_t>;
+ using cuda_scalar_t = cuda::into_type<scalar_t>;
63
64
auto keys = result_tmp.type().tensor(result_tmp.sizes()).random_(generator);
65
0 commit comments