Skip to content

Commit

Permalink
Add cmath include to oneapi_bfloat16 test
Browse files Browse the repository at this point in the history
This commit adds an include of cmath to the
tests/extension/oneapi_bfloat16/bfloat16_api.cpp test to allow the use
of std math functions.

Signed-off-by: Larsen, Steffen <[email protected]>
  • Loading branch information
steffenlarsen committed Oct 19, 2023
1 parent eec8701 commit ff37263
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/extension/oneapi_bfloat16/bfloat16_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

#include "../../common/common.h"

#include <cmath>

using bfloat16 = sycl::ext::oneapi::bfloat16;

TEST_CASE("Common interface members", "[bfloat16]") {
Expand Down

0 comments on commit ff37263

Please sign in to comment.