From 01834ba290d7b73d77793c96e059222257c7dafe Mon Sep 17 00:00:00 2001 From: vladimirkhashev Date: Fri, 30 Jun 2023 01:56:45 -0700 Subject: [PATCH] Apply comments --- test_plans/oneapi_local_memory.asciidoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test_plans/oneapi_local_memory.asciidoc b/test_plans/oneapi_local_memory.asciidoc index 16b9d6633..da57b109b 100644 --- a/test_plans/oneapi_local_memory.asciidoc +++ b/test_plans/oneapi_local_memory.asciidoc @@ -123,6 +123,16 @@ For the custom type test should be performed for sets of initial values containing one, two and three values. If `T` is array, `args` parameter pack must have enough values to initialize each array element. +=== Check array initialization with fewer arguments than array elements + +Run this test only when `T` is an array of `N` elements. + +* Use `group_local_memory` to allocate an object of type `T` (which is an + array) +* Specify `M` "args" to that call, where `M < N` +* Verify that the first `M` elements of the array have the specified initial + value + ==== Check availability of local memory by all work-items in the work-group Skip the test if `T` is array.