mirror of
https://github.com/wolfpld/tracy
synced 2025-04-28 20:23:51 +00: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:
parent
b04dfcd43d
commit
b8c2e25c3d
@ -1,9 +1,9 @@
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <numeric>
|
||||
#include <math.h>
|
||||
|
||||
#include <CL/cl.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user