device_attribute_result_t#
-
template<::cudaDeviceAttr _Attr>
using cuda::device_attribute_result_t = typename __dev_attr<_Attr>::type# For a given attribute, type of the attribute value.
See also
device_attributes
- Example
using threads_per_block_t = device::attr_result_t<device_attributes::max_threads_per_block>; static_assert(std::is_same_v<threads_per_block_t, int>);