Skip to content

Commit

Permalink
Fix lit-tests/intrinsic_matrix.ispc to run on 3 different targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Babokin committed Apr 15, 2021
1 parent 71fb1ff commit 387d4ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/lit-tests/intrinsic_matrix.ispc
@@ -1,4 +1,6 @@
//; RUN: %{ispc} %s --target=host --enable-llvm-intrinsics
//; RUN: %{ispc} %s --target=sse4-i32x4 --enable-llvm-intrinsics
//; RUN: %{ispc} %s --target=avx2-i32x8 --enable-llvm-intrinsics
//; RUN: %{ispc} %s --target=avx512skx-i32x16 --enable-llvm-intrinsics

// REQUIRES: X86_ENABLED

Expand All @@ -10,7 +12,7 @@
#if TARGET_WIDTH == 4
const uniform int row = 2;
const uniform int column = 2;
transpose = @llvm.matrix.transpose.v8f32.i32.i32(matrix, row, column);
float transpose = @llvm.matrix.transpose.v8f32.i32.i32(matrix, row, column);
#elif TARGET_WIDTH == 8
const uniform int row = 2;
const uniform int column = 4;
Expand Down

0 comments on commit 387d4ea

Please sign in to comment.