Skip to content

Commit

Permalink
Add LICENSE
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Waterman committed Jan 10, 2015
1 parent 350b03e commit 160bdaa
Show file tree
Hide file tree
Showing 323 changed files with 667 additions and 1 deletion.
24 changes: 24 additions & 0 deletions LICENSE
@@ -0,0 +1,24 @@
Copyright (c) 2012-2015, The Regents of the University of California (Regents).
All Rights Reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the Regents nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

IN NO EVENT SHALL REGENTS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING
OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF REGENTS HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF ANY, PROVIDED
HEREUNDER IS PROVIDED "AS IS". REGENTS HAS NO OBLIGATION TO PROVIDE
MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
2 changes: 2 additions & 0 deletions benchmarks/common/crt.S
@@ -1,3 +1,5 @@
# See LICENSE for license details.

#include "encoding.h"

#ifdef __riscv64
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/common/syscalls.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#include <stdint.h>
#include <string.h>
#include <stdarg.h>
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/common/util.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#ifndef __UTIL_H
#define __UTIL_H

Expand Down
2 changes: 2 additions & 0 deletions benchmarks/dhrystone/dhrystone.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#include "dhrystone.h"

#ifndef REG
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/dhrystone/dhrystone.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#ifndef _DHRYSTONE_H
#define _DHRYSTONE_H

Expand Down
2 changes: 2 additions & 0 deletions benchmarks/dhrystone/dhrystone_main.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

//**************************************************************************
// Dhrystone bencmark
//--------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/median/dataset1.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.


#define DATA_SIZE 400

Expand Down
2 changes: 2 additions & 0 deletions benchmarks/median/median.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

//**************************************************************************
// Median filter (c version)
//--------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/median/median.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.

//**************************************************************************
// Median filters
//--------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/median/median_main.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

//**************************************************************************
// Median filter bencmark
//--------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/mm/common.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#ifndef _MM_H
#define _MM_H

Expand Down
2 changes: 2 additions & 0 deletions benchmarks/mm/hwacha.S
@@ -1,3 +1,5 @@
# See LICENSE for license details.

.text
.align 2

Expand Down
2 changes: 2 additions & 0 deletions benchmarks/mm/hwacha.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.

static const int HCBM = 18;
static const int HCBN = 80;
static const int HCBK = 16;
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/mm/mm.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#include "common.h"
#include <assert.h>
#include <math.h>
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/mm/mm_main.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#include "common.h"
#include <assert.h>
#include <stdlib.h>
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/mm/rb.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.

static const int RBM = 4, RBN = 5, RBK = 6;
static const int CBM = 36, CBN = 35, CBK = 36;
static inline void kloop(size_t p, t* a0, size_t lda, t* b0, size_t ldb, t* c, size_t ldc)
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/mt-matmul/dataset.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#ifndef __DATASET_H
#define __DATASET_H

Expand Down
2 changes: 2 additions & 0 deletions benchmarks/mt-matmul/matmul.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#include "dataset.h"
#include "util.h"

Expand Down
2 changes: 2 additions & 0 deletions benchmarks/mt-matmul/mt-matmul.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

//**************************************************************************
// Multi-threaded Matrix Multiply benchmark
//--------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/mt-vvadd/dataset.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#ifndef __DATASET_H
#define __DATASET_H

Expand Down
2 changes: 2 additions & 0 deletions benchmarks/mt-vvadd/mt-vvadd.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

//**************************************************************************
// Vector-vector add benchmark
//--------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/mt-vvadd/vvadd.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#include "stdlib.h"
#include "dataset.h"

Expand Down
2 changes: 2 additions & 0 deletions benchmarks/multiply/dataset1.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.


#define DATA_SIZE 100

Expand Down
2 changes: 2 additions & 0 deletions benchmarks/multiply/multiply.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

// *************************************************************************
// multiply function (c version)
// -------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/multiply/multiply.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.

//**************************************************************************
// Software multiply function
//--------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/multiply/multiply_main.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

// *************************************************************************
// multiply filter bencmark
// -------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/qsort/dataset1.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.


#define DATA_SIZE 2048

Expand Down
2 changes: 2 additions & 0 deletions benchmarks/qsort/qsort_main.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

//**************************************************************************
// Quicksort benchmark
//--------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/rsort/dataset1.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.


#define DATA_SIZE 2048

Expand Down
2 changes: 2 additions & 0 deletions benchmarks/rsort/rsort.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

//**************************************************************************
// Quicksort benchmark
//--------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/sort/dataset.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#define DATA_SIZE_SORT 1024
float input_data_sort[1024] = {
0.1757304,
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/sort/sort.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#include "sort.h"

int
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/sort/sort.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#include <string.h>
#include <stdint.h>
#include <stdbool.h>
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/sort/sort_main.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

// ****************************************************************************
// sort benchmark from DARPA PERFECT TAV suite
// ----------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/spmv/dataset1.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#define R 1000
#define C 1000
#define NNZ 10004
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/spmv/spmv_main.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

//**************************************************************************
// Double-precision general matrix multiplication benchmark
//--------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/towers/towers_main.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

//**************************************************************************
// Towers of Hanoi benchmark
//--------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/vec-cmplxmult/dataset.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.


#define DATA_SIZE 512

Expand Down
2 changes: 2 additions & 0 deletions benchmarks/vec-cmplxmult/dataset_test.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.


#define DATA_SIZE 4

Expand Down
2 changes: 2 additions & 0 deletions benchmarks/vec-cmplxmult/vec_cmplxmult_asm.S
@@ -1,3 +1,5 @@
# See LICENSE for license details.

#*****************************************************************************
# cmplxmult function (assembly version)
#-----------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/vec-cmplxmult/vec_cmplxmult_main.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

//**************************************************************************
// Vector-Thread Complex Multiply benchmark
//--------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/vec-fft/cvt16.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#include "cvt16.h"

#define H_BIAS (UINT16_C(0xf))
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/vec-fft/cvt16.h
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#ifndef _CVT16_H
#define _CVT16_H

Expand Down
2 changes: 2 additions & 0 deletions benchmarks/vec-fft/cvt_fft.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/vec-fft/data.c
@@ -1,3 +1,5 @@
// See LICENSE for license details.

#include "fft_const.h"

#if !defined(FP_HALF)
Expand Down

0 comments on commit 160bdaa

Please sign in to comment.