Skip to content

Commit

Permalink
Merge pull request #568 from kokkos/romintomasetti-patch-1
Browse files Browse the repository at this point in the history
core(view): do not show `ViewAllocateWithoutInitializing` in the doc
  • Loading branch information
dalg24 authored Aug 27, 2024
2 parents cb84d50 + 34c54d6 commit 4569ad4
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 4569ad4

Please sign in to comment.