Skip to content

Commit

Permalink
[apps] Make jacobi2d compatible with Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
mp-17 committed Oct 16, 2024
1 parent 377ae7c commit e0a2de9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/jacobi2d/kernel/jacobi2d.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ void j2d_v(uint64_t r, uint64_t c, DATA_TYPE *A, DATA_TYPE *B,
}
}

// Not compatible with Linux compiler
#ifndef ARA_LINUX
void j2d_kernel_v(uint64_t r, uint64_t c, DATA_TYPE *A, DATA_TYPE *B) {
vfloat64m1_t xU;
vfloat64m1_t xUtmp;
Expand Down Expand Up @@ -143,6 +145,7 @@ void j2d_kernel_v(uint64_t r, uint64_t c, DATA_TYPE *A, DATA_TYPE *B) {
}
}
}
#endif

// Optimized version of the jacobi2d kernel
void j2d_kernel_adhoc_warm(uint64_t r, uint64_t c, DATA_TYPE *A, DATA_TYPE *B) {
Expand Down

0 comments on commit e0a2de9

Please sign in to comment.