diff --git a/sycl/doc/extensions/proposed/sycl_ext_intel_cache_controls.asciidoc b/sycl/doc/extensions/proposed/sycl_ext_intel_cache_controls.asciidoc index 7f6766f930d63..adc657c348fc4 100755 --- a/sycl/doc/extensions/proposed/sycl_ext_intel_cache_controls.asciidoc +++ b/sycl/doc/extensions/proposed/sycl_ext_intel_cache_controls.asciidoc @@ -98,6 +98,13 @@ Below is a list of new compile-time constant properties supported with ```c++ namespace sycl::ext::intel::experimental { +enum class cache_level : /*unspecified*/ { + L1, + L2, + L3, + L4, +}; + enum class cache_control_read_type : /* unspecified */ { cached, uncached, @@ -114,19 +121,19 @@ enum class cache_control_write_type : /* unspecified */ { }; struct cache_control_read_key { - template - using value_t = property_value>; + template + using value_t = property_value>; }; struct cache_control_write_key { - template - using value_t = property_value>; + template + using value_t = property_value>; }; -template +template inline constexpr cache_control_read_key::value_t cache_control_read; -template +template inline constexpr cache_control_write_key::value_t cache_control_write; template<> @@ -143,32 +150,32 @@ template struct is_property_key_of< cache_control_write_key, annotated_ptr> : std::true_type {}; -template +template inline constexpr cache_control_read_key::value_t cache_control_read_cached; -template +template inline constexpr cache_control_read_key::value_t cache_control_read_uncached; -template +template inline constexpr cache_control_read_key::value_t cache_control_read_streaming; -template +template inline constexpr cache_control_read_key::value_t cache_control_invalidate_after_read; -template +template inline constexpr cache_control_read_key::value_t cache_control_read_const_cached; -template +template inline constexpr cache_control_write_key::value_t cache_control_write_uncached; -template +template inline constexpr cache_control_write_key::value_t cache_control_write_streaming; -template +template inline constexpr cache_control_write_key::value_t cache_control_write_through; -template +template inline constexpr cache_control_write_key::value_t cache_control_write_back; } // namespace sycl::ext::intel::experimental