Skip to content

Commit

Permalink
Fixes some typos in utilities.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Zheng Zeng authored May 6, 2021
1 parent 8f8a80c commit b878c96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions media/docs/utilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ int main() {
minimum);

// Initialize in device memory
cutlass::reference::device::TensorFill(
cutlass::reference::device::TensorFillRandomUniform(
tensor.device_view(),
seed,
maximum,
Expand All @@ -211,7 +211,7 @@ int main() {
```


`TensorFillRandomUniform()` for initializing elements to a random uniform distribution.
`TensorFillRandomGaussian()` for initializing elements to a random Gaussian distribution.
The device-side implementation uses CURAND to generate random numbers.
```c++
#include <cutlass/layout/matrix.h>
Expand Down

0 comments on commit b878c96

Please sign in to comment.