Skip to content

Commit cded0f8

Browse files
author
Paul F Baumeister
committed
add MIT-License headers to all files
1 parent fd51829 commit cded0f8

37 files changed

+61
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# This file is part of tfQMRgpu under MIT-License
2+
13
# Prerequisites
24
*.d
35

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# This file is part of tfQMRgpu under MIT-License
2+
13
cmake_minimum_required(VERSION 3.11.4)
24

35
# set the project name and version

Config.cmake.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# This file is part of tfQMRgpu under MIT-License
2+
13
@PACKAGE_INIT@
24

35
include("${CMAKE_CURRENT_LIST_DIR}/tfQMRgpuTargets.cmake")

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,5 @@ Purpose
112112
`tfQMRgpu/include/tfqmrgpu_blocksparse.hxx` to see the
113113
interfaces of the member functions that a user defined
114114
action of A needs to provide.
115+
116+
# This file is part of tfQMRgpu under MIT-License

docs/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# This file is part of tfQMRgpu under MIT-License
2+
13
# Please do not check-in the PDF
24
*.pdf
35

docs/tfQMRgpu_manual.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
%% This file is part of tfQMRgpu under MIT-License
2+
13
\documentclass[oribibl]{llncs}
24

35
\usepackage{units}

example/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# This file is part of tfQMRgpu under MIT-License
2+
13
# CMake 3.18 required for LAPACK::LAPACK and BLAS::BLAS
24
# Earlier versions possible if using LAPACK_LIBRARIES or LAPACK95_LIBRARIES, see FindLAPACK documentation (same for BLAS)
35
cmake_minimum_required(VERSION 3.18)

example/tfqmrgpu_C_example.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// This file is part of tfQMRgpu under MIT-License
2+
13
#include <stdio.h> // printf
24
#include <stdint.h> // int32_t, int8_t
35
#include <stdlib.h> // atoi, atof, rand, RAND_MAX

example/tfqmrgpu_Fortran_example.F90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
!! This file is part of tfQMRgpu under MIT-License
2+
13
!! include "../tfQMRgpu/include/tfqmrgpu_Fortran_module.F90"
24

35
#define DEBUG

example/tfqmrgpu_Julia_example.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env julia
2+
# This file is part of tfQMRgpu under MIT-License
3+
24
##############################################
35
### tfqmrgpu_Julia_example.jl
46
##############################################

example/tfqmrgpu_example_reader.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// This file is part of tfQMRgpu under MIT-License
2+
13
// This code tests the legacy input reader for tfQMRgpu
24
// g++ -std=c++11 -I../include tfqmrgpu_example_reader.cxx && ./a.out tfqmrgpu_problem.0
35

example/tfqmrgpu_example_xml_reader.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// This file is part of tfQMRgpu under MIT-License
2+
13
/*
24
* This program reads example problems
35
* stored in the extendable markup languange (XML)

example/tfqmrgpu_generate_FD_example.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// This file is part of tfQMRgpu under MIT-License
2+
13
/*
24
* This program generates an example problem
35
* stored in the extendable markup languange (XML format)

example/tfqmrgpu_python_example.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env python3
2+
# This file is part of tfQMRgpu under MIT-License
3+
24
##############################################
35
### tfqmrgpu_python_example.py
46
### Marc P Vandelle

tfQMRgpu/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Main tfQMRgpu library
2-
# TODO: git commit to version?
1+
# This file is part of tfQMRgpu under MIT-License
2+
33
set(tfQMRgpu_version 0.0.1)
44

55
# For cuRAND

tfQMRgpu/include/allowed_block_sizes.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// This file is part of tfQMRgpu under MIT-License
2+
13
// list all the allowed block sizes here as allow_block_size(ldA, ldB);
24
allow_block_size( 4, 4);
35
allow_block_size( 4, 5);

tfQMRgpu/include/bsr.hxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#pragma once
2+
// This file is part of tfQMRgpu under MIT-License
23

34
#include <vector> // std::vector<T>
45
#include <string> // std::string

tfQMRgpu/include/tfqmrgpu.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#ifndef TFQMRGPU_H
22
#define TFQMRGPU_H
3+
// This file is part of tfQMRgpu under MIT-License
34

45
typedef int32_t tfqmrgpuStatus_t; // return codes
56
// opaque structs

tfQMRgpu/include/tfqmrgpu.hxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#pragma once
2+
// This file is part of tfQMRgpu under MIT-License
23

34
#ifndef HAS_NO_CUDA
45
#include <cuda.h>

tfQMRgpu/include/tfqmrgpu_Fortran.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
!! This file is part of tfQMRgpu under MIT-License
12

23
! !! error codes are default kind integers
34
integer(kind=4), parameter :: TFQMRGPU_STATUS_SUCCESS = 0

tfQMRgpu/include/tfqmrgpu_Fortran_module.F90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
!! This file is part of tfQMRgpu under MIT-License
2+
13
#define DEBUG
24

35
!! The Fortran API is based on subroutines

tfQMRgpu/include/tfqmrgpu_blockmult.hxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#pragma once
2+
// This file is part of tfQMRgpu under MIT-License
23

34
#include "tfqmrgpu_util.hxx" // check_launch_params
45

tfQMRgpu/include/tfqmrgpu_blocksparse.hxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#pragma once
2+
// This file is part of tfQMRgpu under MIT-License
23

34
// #define FULLDEBUG
45

tfQMRgpu/include/tfqmrgpu_core.hxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#pragma once
2+
// This file is part of tfQMRgpu under MIT-License
23

34
// #define DEBUG
45
// #define DEBUGGPU

tfQMRgpu/include/tfqmrgpu_cudaStubs.hxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#pragma once
2+
// This file is part of tfQMRgpu under MIT-License
3+
24
//
35
// cudaStubs: replacement for CUDA infrastructure functions when compiling without CUDA
46
//

tfQMRgpu/include/tfqmrgpu_example_reader.hxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#pragma once
2+
// This file is part of tfQMRgpu under MIT-License
23

34
#include <iostream> // std::cout
45
#include <cstdint> // uint64_t

tfQMRgpu/include/tfqmrgpu_example_xml_reader.hxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#pragma once
2+
// This file is part of tfQMRgpu under MIT-License
3+
24
/*
35
* This program reads example problems
46
* stored in the extendable markup languange (XML)

tfQMRgpu/include/tfqmrgpu_handle.hxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#pragma once
2+
// This file is part of tfQMRgpu under MIT-License
23

34
typedef struct {
45
cudaStream_t streamId; // use setStream and getStream for access

tfQMRgpu/include/tfqmrgpu_linalg.hxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#pragma once
2+
// This file is part of tfQMRgpu under MIT-License
23

34
#ifndef HAS_NO_CUDA
45
#include <curand.h> // random number generator for CUDA

tfQMRgpu/include/tfqmrgpu_memWindow.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#pragma once
2+
// This file is part of tfQMRgpu under MIT-License
23

34
typedef struct {
45
size_t offset; // start of the memory window in Byte

tfQMRgpu/include/tfqmrgpu_plan.hxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#pragma once
2+
// This file is part of tfQMRgpu under MIT-License
23

34
#include <cstdint> // uint16_t, uint32_t, int32_t
45
#include <vector> // std::vector<T>

tfQMRgpu/include/tfqmrgpu_util.hxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#pragma once
2+
// This file is part of tfQMRgpu under MIT-License
23

34
#include "tfqmrgpu_memWindow.h" // memWindow_t
45

tfQMRgpu/source/bench_tfqmrgpu.cu

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// This file is part of tfQMRgpu under MIT-License
2+
13
#include <cstdio> // std::printf
24
#include <cstdlib> // std::atoi
35
#include <iostream> // std::cout, ::endl

tfQMRgpu/source/tfqmrgpu.cu

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// This file is part of tfQMRgpu under MIT-License
2+
13
#include <cstdio> // std::printf, ::fflush, stdout
24
#include <vector> // std::vector<T>
35
#include <cassert> // assert

tfQMRgpu/source/tfqmrgpu_Fortran_wrappers.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// This file is part of tfQMRgpu under MIT-License
2+
13
/* This wrapper performs the following forwarding
24
* The lowercase names with underscore on the left are
35
* void functions with a status variable as last argument,

tfQMRgpu/source/tfqmrgpu_error_tool.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// This file is part of tfQMRgpu under MIT-License
2+
13
#ifndef __NO_MAIN__
24
// To compile a standalone executable tool that decyphers tfQMRgpu error codes:
35
// g++ -g -O0 -Wall -Werror -I include -D __MAIN__ source/tfqmrgpu_error_tool.cxx

third_party/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# This file is part of tfQMRgpu under MIT-License
2+
13
# CMake file for RapidXML
24
add_library(RapidXML INTERFACE)
35
target_include_directories(RapidXML INTERFACE

0 commit comments

Comments
 (0)