From 2b807332d4fa4c7ce01d298350f372fca4ede60d Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 28 Aug 2024 10:11:36 -0400 Subject: [PATCH 1/3] Fix typo --- docs/source/ProgrammingGuide/View.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/ProgrammingGuide/View.rst b/docs/source/ProgrammingGuide/View.rst index 2709e8c37..3aa32e741 100644 --- a/docs/source/ProgrammingGuide/View.rst +++ b/docs/source/ProgrammingGuide/View.rst @@ -534,7 +534,7 @@ A user is in most cases also allowed to obtain a pointer to a specific element v someLibraryFunction(&x(3)); } -This is only valid if a Views reference type is an `lvalue`. That property can be queried statically at compile time from the view through its `reference_is_lvalue` member. +This is only valid if a Views reference type is an `lvalue`. That property can be queried statically at compile time from the view through its `reference_type_is_lvalue` member. 6.5 Access traits From cfc7066bbd241f9cd46b44503d08e5129a3e6d36 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 28 Aug 2024 10:18:15 -0400 Subject: [PATCH 2/3] Improve accessibility table --- docs/source/ProgrammingGuide/View.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/source/ProgrammingGuide/View.rst b/docs/source/ProgrammingGuide/View.rst index 3aa32e741..5ff40f974 100644 --- a/docs/source/ProgrammingGuide/View.rst +++ b/docs/source/ProgrammingGuide/View.rst @@ -416,12 +416,12 @@ The following is the accessibility matrix for execution and memory spaces: .. csv-table:: ,Serial, OpenMP, Threads, Cuda, HIP, - HostSpace, x , x , x , , , - CudaSpace, , , , x , , - CudaUVMSpace, x , x , x , x , , - CudaHostPinnedSpace, x , x , x , x , , - HIPSpace, , , , , x , - HIPHostPinnedSpace, x , x , x , , x , + HostSpace, :octicon:`check` , :octicon:`check` , :octicon:`check` , :octicon:`x` , :octicon:`x` , + CudaSpace, :octicon:`x` , :octicon:`x` , :octicon:`x` , :octicon:`check` , :octicon:`x` , + CudaUVMSpace, :octicon:`check` , :octicon:`check` , :octicon:`check` , :octicon:`check` , :octicon:`x` , + CudaHostPinnedSpace, :octicon:`check` , :octicon:`check` , :octicon:`check` , :octicon:`check` , :octicon:`x` , + HIPSpace, :octicon:`x` , :octicon:`x` , :octicon:`x` , :octicon:`x` , :octicon:`check` , + HIPHostPinnedSpace, :octicon:`check` , :octicon:`check` , :octicon:`check` , :octicon:`x` , :octicon:`check` , This relationship can be queried via the `SpaceAccessibility` class: From f84390e3e7277e07d84d484f9aa8e61d4dddc7be Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 28 Aug 2024 10:19:54 -0400 Subject: [PATCH 3/3] Remove HIP from the accessibility table --- docs/source/ProgrammingGuide/View.rst | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/source/ProgrammingGuide/View.rst b/docs/source/ProgrammingGuide/View.rst index 5ff40f974..ad5d9aaf1 100644 --- a/docs/source/ProgrammingGuide/View.rst +++ b/docs/source/ProgrammingGuide/View.rst @@ -415,13 +415,11 @@ The following is the accessibility matrix for execution and memory spaces: .. csv-table:: - ,Serial, OpenMP, Threads, Cuda, HIP, - HostSpace, :octicon:`check` , :octicon:`check` , :octicon:`check` , :octicon:`x` , :octicon:`x` , - CudaSpace, :octicon:`x` , :octicon:`x` , :octicon:`x` , :octicon:`check` , :octicon:`x` , - CudaUVMSpace, :octicon:`check` , :octicon:`check` , :octicon:`check` , :octicon:`check` , :octicon:`x` , - CudaHostPinnedSpace, :octicon:`check` , :octicon:`check` , :octicon:`check` , :octicon:`check` , :octicon:`x` , - HIPSpace, :octicon:`x` , :octicon:`x` , :octicon:`x` , :octicon:`x` , :octicon:`check` , - HIPHostPinnedSpace, :octicon:`check` , :octicon:`check` , :octicon:`check` , :octicon:`x` , :octicon:`check` , + ,Serial, OpenMP, Threads, Cuda + HostSpace, :octicon:`check` , :octicon:`check` , :octicon:`check` , :octicon:`x` , + CudaSpace, :octicon:`x` , :octicon:`x` , :octicon:`x` , :octicon:`check` , + CudaUVMSpace, :octicon:`check` , :octicon:`check` , :octicon:`check` , :octicon:`check` , + CudaHostPinnedSpace, :octicon:`check` , :octicon:`check` , :octicon:`check` , :octicon:`check` , This relationship can be queried via the `SpaceAccessibility` class: