From e0a2de978f7710b0a4e9cc846e45259af47b075f Mon Sep 17 00:00:00 2001 From: Matteo Perotti Date: Wed, 16 Oct 2024 15:11:19 +0200 Subject: [PATCH] [apps] Make jacobi2d compatible with Linux --- apps/jacobi2d/kernel/jacobi2d.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/jacobi2d/kernel/jacobi2d.c b/apps/jacobi2d/kernel/jacobi2d.c index 67390bef6..1779ebc5b 100644 --- a/apps/jacobi2d/kernel/jacobi2d.c +++ b/apps/jacobi2d/kernel/jacobi2d.c @@ -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; @@ -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) {