Skip to content

Commit 2a18445

Browse files
authored
Update fft_cuda.h
1 parent 152d22b commit 2a18445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/matx/transforms/fft/fft_cuda.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ template <typename OutTensorType, typename InTensorType> class matxCUDAFFTPlan_t
216216
if (i.IsContiguous() && o.IsContiguous()) {
217217
// Previously we used cudaMemGetInfo to get free memory to determine batch size. This can be very slow,
218218
// and for small FFTs this call can create extra latency. For now we'll just assume the user knows what
219-
// they're doing and not try to batch FFTs that are too small
219+
// they're doing and not try to batch FFTs that are too large
220220
const auto shape = i.Shape();
221221
params.batch = std::accumulate(std::begin(shape), std::end(shape) - 1, 1, std::multiplies<index_t>());
222222
params.batch_dims = i.Rank() - 1;

0 commit comments

Comments
 (0)