Skip to content

Commit

Permalink
Added binary_mask_and for avx512
Browse files Browse the repository at this point in the history
  • Loading branch information
JPietrzykTUD committed Nov 25, 2024
1 parent 2cc8b2f commit 3f767c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion primitive_data/primitives/mask.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,10 @@ returns:
ctype: "typename Vec::imask_type"
description: "Vector mask register containing the result."
definitions:
#INTEL - AVX512 already defined in mask_binary_and for Vec::mask_type
- target_extension: "avx512"
ctype: ["uint8_t", "uint16_t", "uint32_t", "uint64_t", "int8_t", "int16_t", "int32_t", "int64_t", "float", "double"]
lscpu_flags: ["avx512f"]
implementation: "return first & second;"
#INTEL AVX2
- target_extension: "avx2"
ctype: ["uint8_t", "uint16_t", "uint32_t", "uint64_t", "int8_t", "int16_t", "int32_t", "int64_t", "float", "double"]
Expand Down

0 comments on commit 3f767c8

Please sign in to comment.