Skip to content

Commit

Permalink
core(view): do not show ViewAllocateWithoutInitializing in the doc
Browse files Browse the repository at this point in the history
`Kokkos::ViewAllocateWithoutInitializing` is not supposed to be used, or at least we shouldn't show it exists.
  • Loading branch information
romintomasetti authored Aug 27, 2024
1 parent cb84d50 commit 34c54d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/ProgrammingGuide/View.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ A View's entries are initialized to zero by default. Initialization happens in p
You may allocate a View without initializing. For example:

```c++
Kokkos::View<int*> x (Kokkos::ViewAllocateWithoutInitializing (label), 100000);
Kokkos::View<int*> x (Kokkos::view_alloc(Kokkos::WithoutInitializing, label), 100000);
```
This is mainly useful in cases when the initial values of the view are not important because
Expand Down

0 comments on commit 34c54d6

Please sign in to comment.