Update initial array values to ensure dot product works with the nstream kernel

This commit is contained in:
Tom Deakin 2021-02-02 11:27:54 +00:00
parent 767df86f1a
commit 5346e1226d
2 changed files with 4 additions and 3 deletions

View File

@ -23,6 +23,7 @@ All notable changes to this project will be documented in this file.
- Cray compiler OpenMP flags updated. - Cray compiler OpenMP flags updated.
- Clang compiler OpenMP flags corrected for NVIDIA target. - Clang compiler OpenMP flags corrected for NVIDIA target.
- Reorder OpenCL objects in class so destructors are called in safe order. - Reorder OpenCL objects in class so destructors are called in safe order.
- Initial values updated to support additional kernel.
### Removed ### Removed
- Pre-building of kernels in SYCL version to ensure compatibility with SYCL 1.2.1. - Pre-building of kernels in SYCL version to ensure compatibility with SYCL 1.2.1.

View File

@ -11,10 +11,10 @@
#include <string> #include <string>
// Array values // Array values
#define startA (0.1) #define startA (1.0)
#define startB (0.2) #define startB (0.02)
#define startC (0.0) #define startC (0.0)
#define startScalar (0.4) #define startScalar (0.04)
template <class T> template <class T>
class Stream class Stream