Merge branch 'master' into multigpu_optimization_2019-07-05

This commit is contained in:
jpekkila
2019-07-09 13:40:33 +03:00
4 changed files with 113 additions and 37 deletions

View File

@@ -25,7 +25,10 @@
*
*/
#pragma once
#include <math.h> // isnan, isinf
#include <cmath>
using namespace std; // Potentially bad practice to declare namespace std here
// #include <math.h> // isnan, isinf // Overloads incorrect/bugged with GCC <= 6.0
// #include <tgmath.h> // Even this does not work
#include <stdlib.h> // rand
template <class T>