Fix for namespace collision with #define RAJA
This commit is contained in:
parent
45381da0b2
commit
3b266b8266
4
main.cpp
4
main.cpp
@ -22,7 +22,7 @@
|
||||
#include "CUDAStream.h"
|
||||
#elif defined(OCL)
|
||||
#include "OCLStream.h"
|
||||
#elif defined(RAJA)
|
||||
#elif defined(USE_RAJA)
|
||||
#include "RAJAStream.hpp"
|
||||
#elif defined(KOKKOS)
|
||||
#include "KOKKOSStream.hpp"
|
||||
@ -89,7 +89,7 @@ void run()
|
||||
// Use the OpenCL implementation
|
||||
stream = new OCLStream<T>(ARRAY_SIZE, deviceIndex);
|
||||
|
||||
#elif defined(RAJA)
|
||||
#elif defined(USE_RAJA)
|
||||
// Use the RAJA implementation
|
||||
stream = new RAJAStream<T>(ARRAY_SIZE, deviceIndex);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user