Skip to content

Commit

Permalink
lint + flags fix for to_mask (sse)
Browse files Browse the repository at this point in the history
  • Loading branch information
JPietrzykTUD committed Sep 23, 2024
1 parent 6b928a6 commit e5aad2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion primitive_data/primitives/calc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ definitions:
implementation: "return _mm_add_epi{{ intrin_tp[ctype][1] }}(vec_a, _mm_and_si128(vec_b, tsl::to_mask<Vec>(mask)));"
- target_extension: "sse"
ctype: ["float"]
lscpu_flags: ["sse"]
lscpu_flags: ["sse2"]
implementation: "return _mm_add_ps(vec_a, _mm_and_ps(vec_b, tsl::to_mask<Vec>(mask)));"
- target_extension: "sse"
ctype: ["double"]
Expand Down
6 changes: 3 additions & 3 deletions primitive_data/primitives/misc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ definitions:
for (; pos < Vec::vector_element_count(); ++pos) {
data_array[pos] = 0;
}
return tsl::load<Vec>(data_array.data());
return tsl::load<Vec>(data_array.data());
#INTEL - AVX2
- target_extension: "avx2"
ctype: ["int8_t", "uint8_t", "int16_t", "uint16_t", "uint32_t", "int32_t", "uint64_t", "int64_t", "float", "double"]
Expand All @@ -831,7 +831,7 @@ definitions:
for (; pos < Vec::vector_element_count(); ++pos) {
data_array[pos] = 0;
}
return tsl::load<Vec>(data_array.data());
return tsl::load<Vec>(data_array.data());
- target_extension: "avx2"
ctype: ["uint32_t", "int32_t", "uint64_t", "int64_t"]
lscpu_flags: ["avx2", "avx512f", "avx512vl"]
Expand Down Expand Up @@ -897,4 +897,4 @@ definitions:
data_array[pos] = 0;
}
return tsl::load<Vec>(data_array.data());
...
...

0 comments on commit e5aad2d

Please sign in to comment.