Skip to content

Commit b38a4de

Browse files
authored
Merge pull request #961 from KornevNikita/upd-vec-width
Add info device vector width for long long
2 parents 05c7ca1 + c7684c1 commit b38a4de

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

adoc/chapters/programming_interface.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2154,6 +2154,9 @@ struct preferred_vector_width_int {
21542154
struct preferred_vector_width_long {
21552155
using return_type = std::uint32_t;
21562156
};
2157+
struct preferred_vector_width_long_long {
2158+
using return_type = std::uint32_t;
2159+
};
21572160
struct preferred_vector_width_float {
21582161
using return_type = std::uint32_t;
21592162
};
@@ -2195,6 +2198,9 @@ struct native_vector_width_int {
21952198
struct native_vector_width_long {
21962199
using return_type = std::uint32_t;
21972200
};
2201+
struct native_vector_width_long_long {
2202+
using return_type = std::uint32_t;
2203+
};
21982204
struct native_vector_width_float {
21992205
using return_type = std::uint32_t;
22002206
};

adoc/headers/deviceInfo.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ struct preferred_vector_width_char;
1717
struct preferred_vector_width_short;
1818
struct preferred_vector_width_int;
1919
struct preferred_vector_width_long;
20+
struct preferred_vector_width_long_long;
2021
struct preferred_vector_width_float;
2122
struct preferred_vector_width_double;
2223
struct preferred_vector_width_half;
2324
struct native_vector_width_char;
2425
struct native_vector_width_short;
2526
struct native_vector_width_int;
2627
struct native_vector_width_long;
28+
struct native_vector_width_long_long;
2729
struct native_vector_width_float;
2830
struct native_vector_width_double;
2931
struct native_vector_width_half;

0 commit comments

Comments
 (0)