Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.17.0/tests/lit-tests/1408.ispc
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

12 lines
340 B
Plaintext

// RUN: %{ispc} %s -g -O2 -o %t.o --target=avx512skx-i32x16
// RUN: %{ispc} %s -g -O2 -o %t.o --target=avx512knl-i32x16
// REQUIRES: X86_ENABLED
export void add_lists(const uniform float a[], const uniform float b[],
uniform float c[], const uniform int count) {
foreach (i = 0 ... count){
c[i] = a[i] + b[i];
}
}