Add enum to AuroraDef
This commit is contained in:
@@ -16,5 +16,9 @@ namespace Aurora
|
|||||||
Row,
|
Row,
|
||||||
All
|
All
|
||||||
};
|
};
|
||||||
|
enum ValueType{
|
||||||
|
Normal=1,
|
||||||
|
Complex
|
||||||
|
};
|
||||||
}
|
}
|
||||||
#endif //AURORA_AURORADEFS_H
|
#endif //AURORA_AURORADEFS_H
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
#include <thrust/complex.h>
|
#include <thrust/complex.h>
|
||||||
#include <thrust/functional.h>
|
#include <thrust/functional.h>
|
||||||
#include <thrust/execution_policy.h>
|
#include <thrust/execution_policy.h>
|
||||||
|
#include "AuroraDefs.h"
|
||||||
using namespace thrust::placeholders;
|
using namespace thrust::placeholders;
|
||||||
|
|
||||||
struct PowOp: public thrust::unary_function<float, float>{
|
struct PowOp: public thrust::unary_function<float, float>{
|
||||||
|
|||||||
@@ -4,13 +4,11 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
#include <complex>
|
#include <complex>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include "AuroraDefs.h"
|
||||||
|
|
||||||
|
|
||||||
namespace Aurora {
|
namespace Aurora {
|
||||||
enum ValueType{
|
|
||||||
Normal=1,
|
|
||||||
Complex
|
|
||||||
};
|
|
||||||
const int $ = -1;
|
const int $ = -1;
|
||||||
class CudaMatrix;
|
class CudaMatrix;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
|
#include <complex>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
#include "AuroraDefs.h"
|
||||||
#include "Matrix.h"
|
#include "Matrix.h"
|
||||||
#include "CudaMatrix.h"
|
#include "CudaMatrix.h"
|
||||||
#include "Function.h"
|
#include "Function.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user