Update License
This commit is contained in:
parent
b891f0bf29
commit
d6116f7fe8
62
LICENSE
62
LICENSE
@ -1,27 +1,35 @@
|
|||||||
Copyright (c) 2015, Tom Deakin and Simon McIntosh-Smith,
|
*==============================================================================
|
||||||
University of Bristol. All rights reserved.
|
*------------------------------------------------------------------------------
|
||||||
|
* Copyright 2015: Tom Deakin, Simon McIntosh-Smith, University of Bristol HPC
|
||||||
Redistribution and use in source and binary forms, with or without
|
* Based on John D. McCalpin’s original STREAM benchmark for CPUs
|
||||||
modification, are permitted provided that the following conditions are met:
|
*------------------------------------------------------------------------------
|
||||||
|
* License:
|
||||||
* Redistributions of source code must retain the above copyright notice, this
|
* 1. You are free to use this program and/or to redistribute
|
||||||
list of conditions and the following disclaimer.
|
* this program.
|
||||||
|
* 2. You are free to modify this program for your own use,
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
* including commercial use, subject to the publication
|
||||||
this list of conditions and the following disclaimer in the documentation
|
* restrictions in item 3.
|
||||||
and/or other materials provided with the distribution.
|
* 3. You are free to publish results obtained from running this
|
||||||
|
* program, or from works that you derive from this program,
|
||||||
* Neither the names of the copyright holders nor the names of its
|
* with the following limitations:
|
||||||
contributors may be used to endorse or promote products derived from
|
* 3a. In order to be referred to as "GPU-STREAM benchmark results",
|
||||||
this software without specific prior written permission.
|
* published results must be in conformance to the GPU-STREAM
|
||||||
|
* Run Rules published at
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
* http://github.com/UoB-HPC/GPU-STREAM/wiki/Run-Rules
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
* and incorporated herein by reference.
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
* The copyright holders retain the
|
||||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
* right to determine conformity with the Run Rules.
|
||||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
* 3b. Results based on modified source code or on runs not in
|
||||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
* accordance with the GPU-STREAM Run Rules must be clearly
|
||||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
* labelled whenever they are published. Examples of
|
||||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
* proper labelling include:
|
||||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
* "tuned GPU-STREAM benchmark results"
|
||||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* "based on a variant of the GPU-STREAM benchmark code"
|
||||||
|
* Other comparable, clear and reasonable labelling is
|
||||||
|
* acceptable.
|
||||||
|
* 3c. Submission of results to the GPU-STREAM benchmark web site
|
||||||
|
* is encouraged, but not required.
|
||||||
|
* 4. Use of this program or creation of derived works based on this
|
||||||
|
* program constitutes acceptance of these licensing restrictions.
|
||||||
|
* 5. Absolutely no warranty is expressed or implied.
|
||||||
|
*———————————————————————————————————-------------------------------------------
|
||||||
|
|||||||
36
common.cpp
36
common.cpp
@ -1,3 +1,39 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
*------------------------------------------------------------------------------
|
||||||
|
* Copyright 2015: Tom Deakin, Simon McIntosh-Smith, University of Bristol HPC
|
||||||
|
* Based on John D. McCalpin’s original STREAM benchmark for CPUs
|
||||||
|
*------------------------------------------------------------------------------
|
||||||
|
* License:
|
||||||
|
* 1. You are free to use this program and/or to redistribute
|
||||||
|
* this program.
|
||||||
|
* 2. You are free to modify this program for your own use,
|
||||||
|
* including commercial use, subject to the publication
|
||||||
|
* restrictions in item 3.
|
||||||
|
* 3. You are free to publish results obtained from running this
|
||||||
|
* program, or from works that you derive from this program,
|
||||||
|
* with the following limitations:
|
||||||
|
* 3a. In order to be referred to as "GPU-STREAM benchmark results",
|
||||||
|
* published results must be in conformance to the GPU-STREAM
|
||||||
|
* Run Rules published at
|
||||||
|
* http://github.com/UoB-HPC/GPU-STREAM/wiki/Run-Rules
|
||||||
|
* and incorporated herein by reference.
|
||||||
|
* The copyright holders retain the
|
||||||
|
* right to determine conformity with the Run Rules.
|
||||||
|
* 3b. Results based on modified source code or on runs not in
|
||||||
|
* accordance with the GPU-STREAM Run Rules must be clearly
|
||||||
|
* labelled whenever they are published. Examples of
|
||||||
|
* proper labelling include:
|
||||||
|
* "tuned GPU-STREAM benchmark results"
|
||||||
|
* "based on a variant of the GPU-STREAM benchmark code"
|
||||||
|
* Other comparable, clear and reasonable labelling is
|
||||||
|
* acceptable.
|
||||||
|
* 3c. Submission of results to the GPU-STREAM benchmark web site
|
||||||
|
* is encouraged, but not required.
|
||||||
|
* 4. Use of this program or creation of derived works based on this
|
||||||
|
* program constitutes acceptance of these licensing restrictions.
|
||||||
|
* 5. Absolutely no warranty is expressed or implied.
|
||||||
|
*———————————————————————————————————-----------------------------------------*/
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
int ARRAY_SIZE = 50000000;
|
int ARRAY_SIZE = 50000000;
|
||||||
|
|||||||
36
common.h
36
common.h
@ -1,3 +1,39 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
*------------------------------------------------------------------------------
|
||||||
|
* Copyright 2015: Tom Deakin, Simon McIntosh-Smith, University of Bristol HPC
|
||||||
|
* Based on John D. McCalpin’s original STREAM benchmark for CPUs
|
||||||
|
*------------------------------------------------------------------------------
|
||||||
|
* License:
|
||||||
|
* 1. You are free to use this program and/or to redistribute
|
||||||
|
* this program.
|
||||||
|
* 2. You are free to modify this program for your own use,
|
||||||
|
* including commercial use, subject to the publication
|
||||||
|
* restrictions in item 3.
|
||||||
|
* 3. You are free to publish results obtained from running this
|
||||||
|
* program, or from works that you derive from this program,
|
||||||
|
* with the following limitations:
|
||||||
|
* 3a. In order to be referred to as "GPU-STREAM benchmark results",
|
||||||
|
* published results must be in conformance to the GPU-STREAM
|
||||||
|
* Run Rules published at
|
||||||
|
* http://github.com/UoB-HPC/GPU-STREAM/wiki/Run-Rules
|
||||||
|
* and incorporated herein by reference.
|
||||||
|
* The copyright holders retain the
|
||||||
|
* right to determine conformity with the Run Rules.
|
||||||
|
* 3b. Results based on modified source code or on runs not in
|
||||||
|
* accordance with the GPU-STREAM Run Rules must be clearly
|
||||||
|
* labelled whenever they are published. Examples of
|
||||||
|
* proper labelling include:
|
||||||
|
* "tuned GPU-STREAM benchmark results"
|
||||||
|
* "based on a variant of the GPU-STREAM benchmark code"
|
||||||
|
* Other comparable, clear and reasonable labelling is
|
||||||
|
* acceptable.
|
||||||
|
* 3c. Submission of results to the GPU-STREAM benchmark web site
|
||||||
|
* is encouraged, but not required.
|
||||||
|
* 4. Use of this program or creation of derived works based on this
|
||||||
|
* program constitutes acceptance of these licensing restrictions.
|
||||||
|
* 5. Absolutely no warranty is expressed or implied.
|
||||||
|
*———————————————————————————————————-----------------------------------------*/
|
||||||
|
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|||||||
@ -1,3 +1,39 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
*------------------------------------------------------------------------------
|
||||||
|
* Copyright 2015: Tom Deakin, Simon McIntosh-Smith, University of Bristol HPC
|
||||||
|
* Based on John D. McCalpin’s original STREAM benchmark for CPUs
|
||||||
|
*------------------------------------------------------------------------------
|
||||||
|
* License:
|
||||||
|
* 1. You are free to use this program and/or to redistribute
|
||||||
|
* this program.
|
||||||
|
* 2. You are free to modify this program for your own use,
|
||||||
|
* including commercial use, subject to the publication
|
||||||
|
* restrictions in item 3.
|
||||||
|
* 3. You are free to publish results obtained from running this
|
||||||
|
* program, or from works that you derive from this program,
|
||||||
|
* with the following limitations:
|
||||||
|
* 3a. In order to be referred to as "GPU-STREAM benchmark results",
|
||||||
|
* published results must be in conformance to the GPU-STREAM
|
||||||
|
* Run Rules published at
|
||||||
|
* http://github.com/UoB-HPC/GPU-STREAM/wiki/Run-Rules
|
||||||
|
* and incorporated herein by reference.
|
||||||
|
* The copyright holders retain the
|
||||||
|
* right to determine conformity with the Run Rules.
|
||||||
|
* 3b. Results based on modified source code or on runs not in
|
||||||
|
* accordance with the GPU-STREAM Run Rules must be clearly
|
||||||
|
* labelled whenever they are published. Examples of
|
||||||
|
* proper labelling include:
|
||||||
|
* "tuned GPU-STREAM benchmark results"
|
||||||
|
* "based on a variant of the GPU-STREAM benchmark code"
|
||||||
|
* Other comparable, clear and reasonable labelling is
|
||||||
|
* acceptable.
|
||||||
|
* 3c. Submission of results to the GPU-STREAM benchmark web site
|
||||||
|
* is encouraged, but not required.
|
||||||
|
* 4. Use of this program or creation of derived works based on this
|
||||||
|
* program constitutes acceptance of these licensing restrictions.
|
||||||
|
* 5. Absolutely no warranty is expressed or implied.
|
||||||
|
*———————————————————————————————————-----------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|||||||
@ -1,3 +1,39 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
*------------------------------------------------------------------------------
|
||||||
|
* Copyright 2015: Tom Deakin, Simon McIntosh-Smith, University of Bristol HPC
|
||||||
|
* Based on John D. McCalpin’s original STREAM benchmark for CPUs
|
||||||
|
*------------------------------------------------------------------------------
|
||||||
|
* License:
|
||||||
|
* 1. You are free to use this program and/or to redistribute
|
||||||
|
* this program.
|
||||||
|
* 2. You are free to modify this program for your own use,
|
||||||
|
* including commercial use, subject to the publication
|
||||||
|
* restrictions in item 3.
|
||||||
|
* 3. You are free to publish results obtained from running this
|
||||||
|
* program, or from works that you derive from this program,
|
||||||
|
* with the following limitations:
|
||||||
|
* 3a. In order to be referred to as "GPU-STREAM benchmark results",
|
||||||
|
* published results must be in conformance to the GPU-STREAM
|
||||||
|
* Run Rules published at
|
||||||
|
* http://github.com/UoB-HPC/GPU-STREAM/wiki/Run-Rules
|
||||||
|
* and incorporated herein by reference.
|
||||||
|
* The copyright holders retain the
|
||||||
|
* right to determine conformity with the Run Rules.
|
||||||
|
* 3b. Results based on modified source code or on runs not in
|
||||||
|
* accordance with the GPU-STREAM Run Rules must be clearly
|
||||||
|
* labelled whenever they are published. Examples of
|
||||||
|
* proper labelling include:
|
||||||
|
* "tuned GPU-STREAM benchmark results"
|
||||||
|
* "based on a variant of the GPU-STREAM benchmark code"
|
||||||
|
* Other comparable, clear and reasonable labelling is
|
||||||
|
* acceptable.
|
||||||
|
* 3c. Submission of results to the GPU-STREAM benchmark web site
|
||||||
|
* is encouraged, but not required.
|
||||||
|
* 4. Use of this program or creation of derived works based on this
|
||||||
|
* program constitutes acceptance of these licensing restrictions.
|
||||||
|
* 5. Absolutely no warranty is expressed or implied.
|
||||||
|
*———————————————————————————————————-----------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
#ifdef FLOAT
|
#ifdef FLOAT
|
||||||
#define DATATYPE float
|
#define DATATYPE float
|
||||||
|
|||||||
@ -1,3 +1,39 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
*------------------------------------------------------------------------------
|
||||||
|
* Copyright 2015: Tom Deakin, Simon McIntosh-Smith, University of Bristol HPC
|
||||||
|
* Based on John D. McCalpin’s original STREAM benchmark for CPUs
|
||||||
|
*------------------------------------------------------------------------------
|
||||||
|
* License:
|
||||||
|
* 1. You are free to use this program and/or to redistribute
|
||||||
|
* this program.
|
||||||
|
* 2. You are free to modify this program for your own use,
|
||||||
|
* including commercial use, subject to the publication
|
||||||
|
* restrictions in item 3.
|
||||||
|
* 3. You are free to publish results obtained from running this
|
||||||
|
* program, or from works that you derive from this program,
|
||||||
|
* with the following limitations:
|
||||||
|
* 3a. In order to be referred to as "GPU-STREAM benchmark results",
|
||||||
|
* published results must be in conformance to the GPU-STREAM
|
||||||
|
* Run Rules published at
|
||||||
|
* http://github.com/UoB-HPC/GPU-STREAM/wiki/Run-Rules
|
||||||
|
* and incorporated herein by reference.
|
||||||
|
* The copyright holders retain the
|
||||||
|
* right to determine conformity with the Run Rules.
|
||||||
|
* 3b. Results based on modified source code or on runs not in
|
||||||
|
* accordance with the GPU-STREAM Run Rules must be clearly
|
||||||
|
* labelled whenever they are published. Examples of
|
||||||
|
* proper labelling include:
|
||||||
|
* "tuned GPU-STREAM benchmark results"
|
||||||
|
* "based on a variant of the GPU-STREAM benchmark code"
|
||||||
|
* Other comparable, clear and reasonable labelling is
|
||||||
|
* acceptable.
|
||||||
|
* 3c. Submission of results to the GPU-STREAM benchmark web site
|
||||||
|
* is encouraged, but not required.
|
||||||
|
* 4. Use of this program or creation of derived works based on this
|
||||||
|
* program constitutes acceptance of these licensing restrictions.
|
||||||
|
* 5. Absolutely no warranty is expressed or implied.
|
||||||
|
*———————————————————————————————————-----------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user