From 7150e047ddb8c7544bbe002fc5ee1d568de91f95 Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Mon, 31 Oct 2016 18:31:07 +0000 Subject: [PATCH 1/3] Add link to website --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 9050f55..afee39d 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,10 @@ Currently implemented are: - RAJA - SYCL +Website +------- +(uob-hpc.github.io/GPU-STREAM/)[uob-hpc.github.io/GPU-STREAM/] + Usage ----- From 9acdba8b76f791e0a30716b7752692b5de8c30d1 Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Mon, 31 Oct 2016 18:31:33 +0000 Subject: [PATCH 2/3] Add link to website --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index afee39d..b024915 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Currently implemented are: Website ------- -(uob-hpc.github.io/GPU-STREAM/)[uob-hpc.github.io/GPU-STREAM/] +[uob-hpc.github.io/GPU-STREAM/](uob-hpc.github.io/GPU-STREAM/) Usage ----- From 3045208aaeb91c1dfd510266ce31028eab904433 Mon Sep 17 00:00:00 2001 From: James Price Date: Tue, 1 Nov 2016 16:18:43 +0000 Subject: [PATCH 3/3] [RAJA] Parallel first touch --- RAJAStream.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/RAJAStream.cpp b/RAJAStream.cpp index 0ee2390..33687a1 100644 --- a/RAJAStream.cpp +++ b/RAJAStream.cpp @@ -21,6 +21,12 @@ RAJAStream::RAJAStream(const unsigned int ARRAY_SIZE, const int device_index) d_a = new T[ARRAY_SIZE]; d_b = new T[ARRAY_SIZE]; d_c = new T[ARRAY_SIZE]; + forall(index_set, [=] RAJA_DEVICE (int index) + { + d_a[index] = 0.0; + d_b[index] = 0.0; + d_c[index] = 0.0; + }); #else cudaMallocManaged((void**)&d_a, sizeof(T)*ARRAY_SIZE, cudaMemAttachGlobal); cudaMallocManaged((void**)&d_b, sizeof(T)*ARRAY_SIZE, cudaMemAttachGlobal);