Skip to content

Commit 10422f0

Browse files
committed
add sycl namespace to sqrt() functions to fix the windows failures.
1 parent 449cdf1 commit 10422f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DirectProgramming/DPC++FPGA/Tutorials/Features/max_interleaving/src/max_interleaving.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ using FloatScalar = std::array<float, 1>;
3434

3535
// an example complicated operation that creates a long critical path of
3636
// combinational logic from the use of the parameter values to the result
37-
float SomethingComplicated(float x, float y) { return sqrt(x) * sqrt(y); }
37+
float SomethingComplicated(float x, float y) { return sycl::sqrt(x) * sycl::sqrt(y); }
3838

3939
template <int interleaving>
4040
class KernelCompute;

0 commit comments

Comments
 (0)