Skip to content

Commit

Permalink
Merge pull request #311 from hcedwar/issue-309
Browse files Browse the repository at this point in the history
Issue #309 Fix to have namespace open/close inside #if/#endif
  • Loading branch information
ndellingwood authored Oct 3, 2018
2 parents 75f550c + 4346a41 commit d684931
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/batched/KokkosBatched_Vector_SIMD.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,8 @@ namespace KokkosBatched {
return reinterpret_cast<value_type*>(&_data)[i];
}
};
#endif
}}
#endif /* #if defined(__AVX__) || defined(__AVX2__) */

#if defined(__AVX512F__)
#include <immintrin.h>
Expand Down Expand Up @@ -505,10 +505,9 @@ namespace KokkosBatched {
return reinterpret_cast<value_type*>(&_data)[i];
}
};
#endif
#endif
}
}
}}
#endif /* #if defined(__AVX512F__) */
#endif /* #if defined(__KOKKOSBATCHED_ENABLE_AVX__) */

#include "KokkosBatched_Vector_SIMD_Arith.hpp"
#include "KokkosBatched_Vector_SIMD_Logical.hpp"
Expand Down

0 comments on commit d684931

Please sign in to comment.