Skip to content

Commit ba43f7b

Browse files
authored
FPGA: Add missing cmath include in the hardware_reuse sample (oneapi-src#2387)
1 parent 3802e2d commit ba43f7b

File tree

3 files changed

+6
-3
lines changed
  • DirectProgramming/C++SYCL_FPGA/Tutorials/Features/task_sequence/hardware_reuse

3 files changed

+6
-3
lines changed

DirectProgramming/C++SYCL_FPGA/Tutorials/Features/task_sequence/hardware_reuse/1_naive/src/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include <iostream>
2+
#include <cmath>
23

34
// oneAPI headers
45
#include <sycl/ext/intel/fpga_extensions.hpp>
@@ -130,4 +131,4 @@ int main() {
130131
}
131132

132133
return passed ? EXIT_SUCCESS : EXIT_FAILURE;
133-
}
134+
}

DirectProgramming/C++SYCL_FPGA/Tutorials/Features/task_sequence/hardware_reuse/2_loop/src/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include <iostream>
2+
#include <cmath>
23

34
// oneAPI headers
45
#include <sycl/ext/intel/fpga_extensions.hpp>
@@ -131,4 +132,4 @@ int main() {
131132
}
132133

133134
return passed ? EXIT_SUCCESS : EXIT_FAILURE;
134-
}
135+
}

DirectProgramming/C++SYCL_FPGA/Tutorials/Features/task_sequence/hardware_reuse/3_task_sequence/src/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include <iostream>
2+
#include <cmath>
23

34
// oneAPI headers
45
#include <sycl/ext/intel/fpga_extensions.hpp>
@@ -138,4 +139,4 @@ int main() {
138139
}
139140

140141
return passed ? EXIT_SUCCESS : EXIT_FAILURE;
141-
}
142+
}

0 commit comments

Comments
 (0)