From 34c54d66c5fbe26184957c77e6ba251b9755da5d Mon Sep 17 00:00:00 2001 From: Tomasetti Romin Date: Tue, 27 Aug 2024 13:03:34 -0400 Subject: [PATCH] core(view): do not show `ViewAllocateWithoutInitializing` in the doc `Kokkos::ViewAllocateWithoutInitializing` is not supposed to be used, or at least we shouldn't show it exists. --- docs/source/ProgrammingGuide/View.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/ProgrammingGuide/View.md b/docs/source/ProgrammingGuide/View.md index 551a6b7cf..af19bf764 100644 --- a/docs/source/ProgrammingGuide/View.md +++ b/docs/source/ProgrammingGuide/View.md @@ -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 x (Kokkos::ViewAllocateWithoutInitializing (label), 100000); +Kokkos::View 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