update headers

This commit is contained in:
Tom Deakin 2021-12-09 11:27:44 +00:00
parent e077d149dc
commit b70c7f0357
2 changed files with 4 additions and 2 deletions

View File

@ -43,6 +43,8 @@
#include "ACCStream.h" #include "ACCStream.h"
#elif defined(SYCL) #elif defined(SYCL)
#include "SYCLStream.h" #include "SYCLStream.h"
#elif defined(SYCL2020)
#include "SYCLStream2020.h"
#elif defined(OMP) #elif defined(OMP)
#include "OMPStream.h" #include "OMPStream.h"
#endif #endif
@ -282,7 +284,7 @@ void run()
// Use the OpenACC implementation // Use the OpenACC implementation
stream = new ACCStream<T>(ARRAY_SIZE, deviceIndex); stream = new ACCStream<T>(ARRAY_SIZE, deviceIndex);
#elif defined(SYCL) #elif defined(SYCL) || defined(SYCL2020)
// Use the SYCL implementation // Use the SYCL implementation
stream = new SYCLStream<T>(ARRAY_SIZE, deviceIndex); stream = new SYCLStream<T>(ARRAY_SIZE, deviceIndex);

View File

@ -5,7 +5,7 @@
// For full license terms please see the LICENSE file distributed with this // For full license terms please see the LICENSE file distributed with this
// source code // source code
#include "SYCLStream.h" #include "SYCLStream2020.h"
#include <iostream> #include <iostream>