Jimmy-Z / bfCL

OpenCL! fancy!
12 stars 7 forks source link

avoid potentially wrong measurement when clock modified (for linux) #9

Open danny8376 opened 1 year ago

danny8376 commented 1 year ago

switch to clock_gettime(CLOCK_MONOTONIC) to avoid inaccuracy when time is changed manually also supposedly fix linux build issue