Skip to content

Commit

Permalink
guard against gnu exetension
Browse files Browse the repository at this point in the history
  • Loading branch information
JorgeG94 committed Sep 10, 2024
1 parent 2e489d4 commit 41a00ac
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,11 @@ namespace XCPU {

// Scalar SIMD Emulation
#else

#ifdef __GNUC__
#warning "Warning: ISA Not Specified: Using Scalar Code"

#else
#pragma message "Warning: ISA Not Specified: Using Scalar Code"
#endif
#define SIMD_TYPE double

#define SIMD_LENGTH 1
Expand Down

0 comments on commit 41a00ac

Please sign in to comment.