update headers
This commit is contained in:
parent
e077d149dc
commit
b70c7f0357
@ -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);
|
||||||
|
|
||||||
|
|||||||
@ -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>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user