0
0
mirror of https://github.com/wolfpld/tracy.git synced 2026-01-18 17:11:26 +01:00

Fix a build of OpelCLVectorAdd example on linux (#989)

* Add a <cmath> as to fix unknown symbol sqrt whist building on linux (gcc). Remove <algorithm> as a consequence of clangd suggestion.

* adjust according to the review comment
This commit is contained in:
FrK5E
2025-02-26 15:37:49 +01:00
committed by GitHub
parent b04dfcd43d
commit b8c2e25c3d

View File

@@ -1,9 +1,9 @@
#include <algorithm>
#include <iostream>
#include <cassert>
#include <string>
#include <vector>
#include <numeric>
#include <math.h>
#include <CL/cl.h>