Skip to content

Commit d6116f7

Browse files
committed
Update License
1 parent b891f0b commit d6116f7

File tree

6 files changed

+215
-27
lines changed

6 files changed

+215
-27
lines changed

LICENSE

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,35 @@
1-
Copyright (c) 2015, Tom Deakin and Simon McIntosh-Smith,
2-
University of Bristol. All rights reserved.
3-
4-
Redistribution and use in source and binary forms, with or without
5-
modification, are permitted provided that the following conditions are met:
6-
7-
* Redistributions of source code must retain the above copyright notice, this
8-
list of conditions and the following disclaimer.
9-
10-
* Redistributions in binary form must reproduce the above copyright notice,
11-
this list of conditions and the following disclaimer in the documentation
12-
and/or other materials provided with the distribution.
13-
14-
* Neither the names of the copyright holders nor the names of its
15-
contributors may be used to endorse or promote products derived from
16-
this software without specific prior written permission.
17-
18-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1+
*==============================================================================
2+
*------------------------------------------------------------------------------
3+
* Copyright 2015: Tom Deakin, Simon McIntosh-Smith, University of Bristol HPC
4+
* Based on John D. McCalpin’s original STREAM benchmark for CPUs
5+
*------------------------------------------------------------------------------
6+
* License:
7+
* 1. You are free to use this program and/or to redistribute
8+
* this program.
9+
* 2. You are free to modify this program for your own use,
10+
* including commercial use, subject to the publication
11+
* restrictions in item 3.
12+
* 3. You are free to publish results obtained from running this
13+
* program, or from works that you derive from this program,
14+
* with the following limitations:
15+
* 3a. In order to be referred to as "GPU-STREAM benchmark results",
16+
* published results must be in conformance to the GPU-STREAM
17+
* Run Rules published at
18+
* http://github.com/UoB-HPC/GPU-STREAM/wiki/Run-Rules
19+
* and incorporated herein by reference.
20+
* The copyright holders retain the
21+
* right to determine conformity with the Run Rules.
22+
* 3b. Results based on modified source code or on runs not in
23+
* accordance with the GPU-STREAM Run Rules must be clearly
24+
* labelled whenever they are published. Examples of
25+
* proper labelling include:
26+
* "tuned GPU-STREAM benchmark results"
27+
* "based on a variant of the GPU-STREAM benchmark code"
28+
* Other comparable, clear and reasonable labelling is
29+
* acceptable.
30+
* 3c. Submission of results to the GPU-STREAM benchmark web site
31+
* is encouraged, but not required.
32+
* 4. Use of this program or creation of derived works based on this
33+
* program constitutes acceptance of these licensing restrictions.
34+
* 5. Absolutely no warranty is expressed or implied.
35+
*———————————————————————————————————-------------------------------------------

common.cpp

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
/*=============================================================================
2+
*------------------------------------------------------------------------------
3+
* Copyright 2015: Tom Deakin, Simon McIntosh-Smith, University of Bristol HPC
4+
* Based on John D. McCalpin’s original STREAM benchmark for CPUs
5+
*------------------------------------------------------------------------------
6+
* License:
7+
* 1. You are free to use this program and/or to redistribute
8+
* this program.
9+
* 2. You are free to modify this program for your own use,
10+
* including commercial use, subject to the publication
11+
* restrictions in item 3.
12+
* 3. You are free to publish results obtained from running this
13+
* program, or from works that you derive from this program,
14+
* with the following limitations:
15+
* 3a. In order to be referred to as "GPU-STREAM benchmark results",
16+
* published results must be in conformance to the GPU-STREAM
17+
* Run Rules published at
18+
* http://github.com/UoB-HPC/GPU-STREAM/wiki/Run-Rules
19+
* and incorporated herein by reference.
20+
* The copyright holders retain the
21+
* right to determine conformity with the Run Rules.
22+
* 3b. Results based on modified source code or on runs not in
23+
* accordance with the GPU-STREAM Run Rules must be clearly
24+
* labelled whenever they are published. Examples of
25+
* proper labelling include:
26+
* "tuned GPU-STREAM benchmark results"
27+
* "based on a variant of the GPU-STREAM benchmark code"
28+
* Other comparable, clear and reasonable labelling is
29+
* acceptable.
30+
* 3c. Submission of results to the GPU-STREAM benchmark web site
31+
* is encouraged, but not required.
32+
* 4. Use of this program or creation of derived works based on this
33+
* program constitutes acceptance of these licensing restrictions.
34+
* 5. Absolutely no warranty is expressed or implied.
35+
*———————————————————————————————————-----------------------------------------*/
36+
137
#include "common.h"
238

339
int ARRAY_SIZE = 50000000;

common.h

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
/*=============================================================================
2+
*------------------------------------------------------------------------------
3+
* Copyright 2015: Tom Deakin, Simon McIntosh-Smith, University of Bristol HPC
4+
* Based on John D. McCalpin’s original STREAM benchmark for CPUs
5+
*------------------------------------------------------------------------------
6+
* License:
7+
* 1. You are free to use this program and/or to redistribute
8+
* this program.
9+
* 2. You are free to modify this program for your own use,
10+
* including commercial use, subject to the publication
11+
* restrictions in item 3.
12+
* 3. You are free to publish results obtained from running this
13+
* program, or from works that you derive from this program,
14+
* with the following limitations:
15+
* 3a. In order to be referred to as "GPU-STREAM benchmark results",
16+
* published results must be in conformance to the GPU-STREAM
17+
* Run Rules published at
18+
* http://github.com/UoB-HPC/GPU-STREAM/wiki/Run-Rules
19+
* and incorporated herein by reference.
20+
* The copyright holders retain the
21+
* right to determine conformity with the Run Rules.
22+
* 3b. Results based on modified source code or on runs not in
23+
* accordance with the GPU-STREAM Run Rules must be clearly
24+
* labelled whenever they are published. Examples of
25+
* proper labelling include:
26+
* "tuned GPU-STREAM benchmark results"
27+
* "based on a variant of the GPU-STREAM benchmark code"
28+
* Other comparable, clear and reasonable labelling is
29+
* acceptable.
30+
* 3c. Submission of results to the GPU-STREAM benchmark web site
31+
* is encouraged, but not required.
32+
* 4. Use of this program or creation of derived works based on this
33+
* program constitutes acceptance of these licensing restrictions.
34+
* 5. Absolutely no warranty is expressed or implied.
35+
*———————————————————————————————————-----------------------------------------*/
36+
137
#include <iomanip>
238
#include <iostream>
339
#include <cstring>

cuda-stream.cu

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
/*=============================================================================
2+
*------------------------------------------------------------------------------
3+
* Copyright 2015: Tom Deakin, Simon McIntosh-Smith, University of Bristol HPC
4+
* Based on John D. McCalpin’s original STREAM benchmark for CPUs
5+
*------------------------------------------------------------------------------
6+
* License:
7+
* 1. You are free to use this program and/or to redistribute
8+
* this program.
9+
* 2. You are free to modify this program for your own use,
10+
* including commercial use, subject to the publication
11+
* restrictions in item 3.
12+
* 3. You are free to publish results obtained from running this
13+
* program, or from works that you derive from this program,
14+
* with the following limitations:
15+
* 3a. In order to be referred to as "GPU-STREAM benchmark results",
16+
* published results must be in conformance to the GPU-STREAM
17+
* Run Rules published at
18+
* http://github.com/UoB-HPC/GPU-STREAM/wiki/Run-Rules
19+
* and incorporated herein by reference.
20+
* The copyright holders retain the
21+
* right to determine conformity with the Run Rules.
22+
* 3b. Results based on modified source code or on runs not in
23+
* accordance with the GPU-STREAM Run Rules must be clearly
24+
* labelled whenever they are published. Examples of
25+
* proper labelling include:
26+
* "tuned GPU-STREAM benchmark results"
27+
* "based on a variant of the GPU-STREAM benchmark code"
28+
* Other comparable, clear and reasonable labelling is
29+
* acceptable.
30+
* 3c. Submission of results to the GPU-STREAM benchmark web site
31+
* is encouraged, but not required.
32+
* 4. Use of this program or creation of derived works based on this
33+
* program constitutes acceptance of these licensing restrictions.
34+
* 5. Absolutely no warranty is expressed or implied.
35+
*———————————————————————————————————-----------------------------------------*/
36+
137

238
#include <iostream>
339
#include <fstream>

ocl-stream-kernels.cl

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
/*=============================================================================
2+
*------------------------------------------------------------------------------
3+
* Copyright 2015: Tom Deakin, Simon McIntosh-Smith, University of Bristol HPC
4+
* Based on John D. McCalpin’s original STREAM benchmark for CPUs
5+
*------------------------------------------------------------------------------
6+
* License:
7+
* 1. You are free to use this program and/or to redistribute
8+
* this program.
9+
* 2. You are free to modify this program for your own use,
10+
* including commercial use, subject to the publication
11+
* restrictions in item 3.
12+
* 3. You are free to publish results obtained from running this
13+
* program, or from works that you derive from this program,
14+
* with the following limitations:
15+
* 3a. In order to be referred to as "GPU-STREAM benchmark results",
16+
* published results must be in conformance to the GPU-STREAM
17+
* Run Rules published at
18+
* http://github.com/UoB-HPC/GPU-STREAM/wiki/Run-Rules
19+
* and incorporated herein by reference.
20+
* The copyright holders retain the
21+
* right to determine conformity with the Run Rules.
22+
* 3b. Results based on modified source code or on runs not in
23+
* accordance with the GPU-STREAM Run Rules must be clearly
24+
* labelled whenever they are published. Examples of
25+
* proper labelling include:
26+
* "tuned GPU-STREAM benchmark results"
27+
* "based on a variant of the GPU-STREAM benchmark code"
28+
* Other comparable, clear and reasonable labelling is
29+
* acceptable.
30+
* 3c. Submission of results to the GPU-STREAM benchmark web site
31+
* is encouraged, but not required.
32+
* 4. Use of this program or creation of derived works based on this
33+
* program constitutes acceptance of these licensing restrictions.
34+
* 5. Absolutely no warranty is expressed or implied.
35+
*———————————————————————————————————-----------------------------------------*/
36+
137

238
#ifdef FLOAT
339
#define DATATYPE float

ocl-stream.cpp

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
/*=============================================================================
2+
*------------------------------------------------------------------------------
3+
* Copyright 2015: Tom Deakin, Simon McIntosh-Smith, University of Bristol HPC
4+
* Based on John D. McCalpin’s original STREAM benchmark for CPUs
5+
*------------------------------------------------------------------------------
6+
* License:
7+
* 1. You are free to use this program and/or to redistribute
8+
* this program.
9+
* 2. You are free to modify this program for your own use,
10+
* including commercial use, subject to the publication
11+
* restrictions in item 3.
12+
* 3. You are free to publish results obtained from running this
13+
* program, or from works that you derive from this program,
14+
* with the following limitations:
15+
* 3a. In order to be referred to as "GPU-STREAM benchmark results",
16+
* published results must be in conformance to the GPU-STREAM
17+
* Run Rules published at
18+
* http://github.com/UoB-HPC/GPU-STREAM/wiki/Run-Rules
19+
* and incorporated herein by reference.
20+
* The copyright holders retain the
21+
* right to determine conformity with the Run Rules.
22+
* 3b. Results based on modified source code or on runs not in
23+
* accordance with the GPU-STREAM Run Rules must be clearly
24+
* labelled whenever they are published. Examples of
25+
* proper labelling include:
26+
* "tuned GPU-STREAM benchmark results"
27+
* "based on a variant of the GPU-STREAM benchmark code"
28+
* Other comparable, clear and reasonable labelling is
29+
* acceptable.
30+
* 3c. Submission of results to the GPU-STREAM benchmark web site
31+
* is encouraged, but not required.
32+
* 4. Use of this program or creation of derived works based on this
33+
* program constitutes acceptance of these licensing restrictions.
34+
* 5. Absolutely no warranty is expressed or implied.
35+
*———————————————————————————————————-----------------------------------------*/
36+
137

238
#include <iostream>
339
#include <fstream>

0 commit comments

Comments
 (0)