8000 a by mloccy · Pull Request #1 · Artomatix/clBLAS · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

a #1

Open
wants to merge 264 commits into
base: hunter
Choose a base branch
from
Open

a #1

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
264 commits
Select commit Hold shift + click to select a range
03d7e7e
Merge pull request #80 from TimmyLiu/master
Apr 10, 2015
434b38e
enable offline compilation of a subset of GEMM and TRSM on targeted d…
Apr 16, 2015
2dce4f5
minor bug fix
Apr 16, 2015
595c63b
fix bug for small matrix when beta is 0
Apr 16, 2015
5c3f082
minor bug fix in client code
Apr 16, 2015
8dc95f9
Merge pull request #81 from TimmyLiu/develop
Apr 16, 2015
d00b59a
do not build bingen if offline compilation is disabled
Apr 16, 2015
38b342a
Merge pull request #82 from TimmyLiu/develop
Apr 16, 2015
eff87f9
fix travis CI build
Apr 17, 2015
0a6d431
Merge pull request #85 from TimmyLiu/develop
Apr 17, 2015
1795886
correctness fix
Apr 19, 2015
a55d3ae
Merge branch 'develop' of https://github.com/clMathLibraries/clBLAS i…
Apr 19, 2015
fda48a7
replacing barrier with memfence in the inner most loop requires an ex…
Apr 19, 2015
39b324d
improve big sgemm column NN perf. improve small sgemm NN perf.
Apr 21, 2015
f9e0160
Merge pull request #87 from TimmyLiu/develop
Apr 22, 2015
413819f
bump develop version to 2.5
Apr 22, 2015
fdcf987
Merge pull request #88 from TimmyLiu/develop
Apr 22, 2015
8ef0a43
some static kernel code clean up
Apr 29, 2015
a280c96
improve sgemm column major TN small matrix perf. some type/bug fixes
Apr 29, 2015
5137231
Merge pull request #90 from TimmyLiu/develop
Apr 29, 2015
93b5b69
fix a very silly bug in compuing s/dtrsm flops.
May 5, 2015
8b41d5e
Merge pull request #91 from TimmyLiu/develop
May 5, 2015
c084b47
Ben : fixing bonaire path for sgemm using CL2.0 path
BenjaminCoquelle May 8, 2015
2ad3664
fixing a typo
BenjaminCoquelle May 8, 2015
aa972ec
chanching the heuristic to detect the small matrices
BenjaminCoquelle May 8, 2015
d4163f4
Merge pull request #93 from BenjaminCoquelle/develop
May 8, 2015
7302f86
some typo fixes
May 8, 2015
573b487
Merge pull request #95 from TimmyLiu/develop
May 8, 2015
9edf929
Merge pull request #75 from marbre/samples
May 12, 2015
f8af95c
Merge pull request #74 from marbre/develop
May 12, 2015
2f845e2
fix cmake bug introduced by pull request #75
May 12, 2015
17b22e8
Merge pull request #96 from TimmyLiu/develop
May 12, 2015
dc304d8
refactored CMakeLists.txt in BUILD_TEST block, added test for OSX det…
lzamparo May 13, 2015
7a9e3df
changed indentation of BUILD_TEST block to increase readability
lzamparo May 13, 2015
3107f8a
Merge pull request #97 from lzamparo/master
May 13, 2015
15b46fe
Revert "Fix to enable successful build on MacOSX "
May 13, 2015
a6b3f9d
Merge pull request #98 from clMathLibraries/revert-97-master
May 13, 2015
46389ac
added test for OSX detection to turn off CORR_TEST_WITH_ACML, refacto…
lzamparo May 14, 2015
f5d5adc
Merge pull request #99 from lzamparo/cmake_fix
May 14, 2015
6d1e3c4
stop checking opencl major number in some routines
May 14, 2015
f4af838
better handle sgemm NT where M and N are mod32 and not mod64. M and N…
May 29, 2015
4447bfe
Merge pull request #100 from TimmyLiu/develop
May 29, 2015
701210c
fix undefined reference to symbol 'pthread_key_delete@@GLIBC_2.2.5'
May 31, 2015
b83750a
Install cmake configuration to lib/cmake/clBLAS
marbre Jun 6, 2015
60092c2
delete appendix in license file
Jun 11, 2015
1136350
Merge pull request #102 from lunochod/develop
Jun 11, 2015
2621814
Merge pull request #106 from TimmyLiu/develop
Jun 11, 2015
77b3245
Merge pull request #105 from marbre/develop
Jun 11, 2015
6623809
adding zgemm kernel for hawaii
guacamoleo Jun 16, 2015
8580cdb
fixed including gcn_zgemm.h
guacamoleo Jun 16, 2015
6f476b8
Merge pull request #107 from guacamoleo/develop
Jun 16, 2015
bd13b7b
enables apiCallC 10000 ount for zgemm within client
guacamoleo Jun 18, 2015
03ae187
fixed zgemm offset bug; removed profiling from client
guacamoleo Jun 23, 2015
f9a2250
Merge pull request #111 from guacamoleo/develop
Jun 23, 2015
f7c6536
add codepath for dtrsm when M and N are mod192
Jun 24, 2015
262a1e1
add x86_64/sdk suffix as search location for libOpenCL.so when
lunochod Jun 26, 2015
dff63b4
Fix kernel crash on nvidia, caused by float4 alignemtn error, see htt…
hughperkins Jun 18, 2015
828aff1
Merge pull request #112 from TimmyLiu/develop
guacamoleo Jun 29, 2015
2137cae
Merge pull request #113 from lunochod/develop
Jun 29, 2015
5b922a7
python scripts should call clBLAS-client instead of client
Jun 30, 2015
f3471bf
Merge pull request #116 from TimmyLiu/develop
guacamoleo Jun 30, 2015
3f032e7
merge develop branch to master branch. Bump master branch version num…
Jul 1, 2015
6d7dcf8
bump develop branch version to 2.7
Jul 1, 2015
6311c6b
adding performance data
guacamoleo Jul 1, 2015
e058f67
fixed graph script
guacamoleo Jul 1, 2015
5005205
Merge pull request #118 from guacamoleo/develop
Jul 1, 2015
9731ea2
Merge pull request #119 from TimmyLiu/master
guacamoleo Jul 1, 2015
63ca259
Merge pull request #120 from TimmyLiu/develop
guacamoleo Jul 1, 2015
7f01bdf
Removed printfs in case of invalid matrices from SYMM
CNugteren Jul 30, 2015
edb7a50
Changed the order of matrix-size checking to A-B-C (consistent with o…
CNugteren Jul 30, 2015
4367daa
Guarded debug printf statements in several level 1 and 2 routines
CNugteren Jul 31, 2015
9b14e88
Updated the computation of the matrix-buffer memory used in case of n…
CNugteren Jul 31, 2015
64d0ba3
add w9100 performance
Aug 3, 2015
5b5eb03
Merge pull request #126 from CNugteren/errorcheck_order
Aug 3, 2015
d114844
Simplified the calculation of the memory used for matrices
CNugteren Aug 4, 2015
ce984ae
Merge pull request #127 from CNugteren/mem_used_calculation
Aug 4, 2015
d3d36e0
fix sgemm NT perf drop when lda=ldb=6144 and k>1536
Aug 15, 2015
458c9da
fix sgemm NT perf drop when fix sgemm NT perf drop when lda=ldb=4096 …
Aug 15, 2015
f3a10ab
fix sgemm NT perf drop when fix sgemm NT perf drop when lda=ldb=7168 …
Aug 15, 2015
5a74faf
code clean up
Aug 16, 2015
ecd89f9
Merge pull request #133 from TimmyLiu/develop
Aug 17, 2015
45bb325
add missing includes on stdlib
ghisvail Aug 18, 2015
dcf60db
Merge pull request #134 from ghisvail/bugfix/missing-stdlib
Aug 19, 2015
549df17
Fix redefinition warnings when using with clFFT
shehzan10 Aug 21, 2015
8dd05f7
Merge pull request #135 from shehzan10/redef_fixes
Aug 24, 2015
f496d1c
typo fix
Aug 26, 2015
b8ed4fd
release cl program
Sep 10, 2015
4b9a341
adding performance data
guacamoleo Jul 1, 2015
40098f4
adding auto-gemm script
guacamoleo Jul 9, 2015
33c5ca0
Merge pull request #138 from guacamoleo/develop-squash2
Sep 10, 2015
2c5ab03
Merge pull request #139 from guacamoleo/develop
guacamoleo Sep 11, 2015
4b34283
updating README
guacamoleo Sep 11, 2015
e7e01ad
AutoGemm performance data; sgemm add unroll=8 for benchmarking; gemm …
guacamoleo Sep 18, 2015
f6ae9ac
AutoGemm KernelOpenCL can generate standalone kernels
guacamoleo Sep 18, 2015
644df17
Merge pull request #140 from guacamoleo/develop
Sep 18, 2015
acc6889
added numQueues to performance data
guacamoleo Sep 18, 2015
a6bdc3d
Merge pull request #141 from guacamoleo/develop
guacamoleo Sep 18, 2015
0a08f16
Integrating new travis and appveyor build yaml scripts
Sep 23, 2015
f496afa
Fixed badge links for appveyor clmathlibraries project
Sep 23, 2015
c47ef12
Merge pull request #143 from kknox/ci
Sep 24, 2015
ba1bbdd
dtrsm 192 trtri
Sep 10, 2015
31c9214
mod192 dtrsm using dtrtri
Sep 14, 2015
4d67a9e
enable big dgemm with split calls
Sep 16, 2015
afe8fc0
enable output result with -p 1 in client
Sep 16, 2015
d6e6a78
dtrsm reenablment 192
Sep 21, 2015
c4e7964
bug fix
Sep 21, 2015
4067d14
fix linux build
Sep 21, 2015
5ee9e5f
dtrsm lower left
Sep 22, 2015
8e9bc4d
dtrsm right side
Sep 24, 2015
a08507d
attempt to fix macos build
Sep 24, 2015
18404c0
Merge pull request #144 from TimmyLiu/develop
Sep 25, 2015
4f204b2
finished dtrsm offline compile dev
Oct 2, 2015
1ffeb0f
fix linux build
Oct 5, 2015
7cbbf9c
Merge pull request #145 from TimmyLiu/develop
Oct 6, 2015
ccb8bec
Merge pull request #146 from TimmyLiu/develop
Oct 7, 2015
7877094
fix VS 2015 build
Oct 7, 2015
55921b5
fix a install issue
Oct 8, 2015
8299035
Merge branch 'develop' of https://github.com/TimmyLiu/clBLAS into dev…
Oct 8, 2015
a459976
Merge pull request #147 from TimmyLiu/develop
Oct 8, 2015
705d16e
add dtrsm perf (clblas 2.7.1) on w9100 with 14502 driver
Oct 13, 2015
b942250
add k40 cublas 7.5 dtrsm data
Oct 14, 2015
c9a02b8
Merge pull request #148 from TimmyLiu/develop
Oct 14, 2015
d0b106e
adding cublas data
guacamoleo Oct 15, 2015
f40ed62
Merge pull request #149 from guacamoleo/develop
Oct 15, 2015
ef47dda
add link to windows master branch badge
Oct 15, 2015
feadbbb
Merge pull request #150 from TimmyLiu/develop
Oct 15, 2015
0482e1c
merged develop to master; bumped version to 2.8.0
guacamoleo Oct 16, 2015
8b5f7a0
Merge pull request #151 from guacamoleo/master
Oct 16, 2015
b68e8bd
Update .travis.yml
Oct 19, 2015
16973bf
Update appveyor.yml
Oct 19, 2015
c6d971f
bump develop branch version number to 2.9.0
TimmyLiu Oct 21, 2015
d987b0a
Update CMakeLists.txt
TimmyLiu Oct 21, 2015
16744bf
fix 'array initializer must be an initializer list', https://github.c…
hughperkins Oct 21, 2015
902ccec
Merge pull request #157 from TimmyLiu/develop
TimmyLiu Oct 21, 2015
c56c725
Fix https://github.com/clMathLibraries/clBLAS/issues/159 , teardown/s…
hughperkins Oct 25, 2015
27ab572
Merge pull request #163 from hughperkins/fix-teardown
guacamoleo Oct 26, 2015
8000 3681c78
Fix catch-22 in build order, following pull-163, where init.c compile…
hughperkins Oct 28, 2015
0fc3d3f
Merge pull request #170 from hughperkins/fix-buggette-in-pull-163
guacamoleo Oct 28, 2015
16b0f9e
add missing include on stdlib.h
ghisvail Oct 28, 2015
45ba4b3
merge master branch to develop branch. please only make pull requests…
Oct 29, 2015
75b0f92
Merge pull request #174 from TimmyLiu/develop
TimmyLiu Oct 29, 2015
56f7957
fix hard-coding of opencl version to 2.0; fix 1d initialization of 2d…
hughperkins Oct 29, 2015
2ea8c8a
Fix teardown of UserGemmClKernels
hughperkins Oct 29, 2015
484dc16
Merge pull request #175 from hughperkins/fix-teardown-userkernels-reb…
TimmyLiu Oct 29, 2015
57e25b9
Merge pull request #171 from ghisvail/fix/missing-stdlib-include
TimmyLiu Nov 6, 2015
a50aaef
Merge pull request #115 from hughperkins/develop
TimmyLiu Nov 6, 2015
f888be0
Merge pull request #178 from TimmyLiu/develop
TimmyLiu Nov 9, 2015
f54bc62
release event obj in sample code
Nov 9, 2015
c96ebc6
find libblas.so correctly. use libblas.so for testing by default inst…
Nov 10, 2015
26b40b8
need gfortran for testing with netlib blas
Nov 10, 2015
7495ed6
try to get gfortran working on travis ci
Nov 10, 2015
2d67b2e
remove version number
Nov 10, 2015
09e7100
Merge pull request #181 from TimmyLiu/develop
TimmyLiu Nov 10, 2015
89f62e5
Update gtest link to point to github
hughperkins Nov 10, 2015
0725afa
Merge pull request #183 from hughperkins/update-gtest-link
TimmyLiu Nov 16, 2015
767f2a3
Fixed clang build error
notorca Nov 19, 2015
57e1e65
Merge pull request #190 from notorca/master
TimmyLiu Nov 24, 2015
99b3931
adding AutoGemm kernel selection logic for Fiji
guacamoleo Dec 7, 2015
0d2fb3a
if BUILD_TEST is not set fortran compiler should not be required.
Dec 7, 2015
1e7aec0
Merge pull request #194 from guacamoleo/develop
tingxingdong Dec 7, 2015
5bfe00d
Merge pull request #193 from TimmyLiu/develop
tingxingdong Dec 7, 2015
4914167
add perf data for fiji
tingxingdong Dec 15, 2015
c2e7334
Merge pull request #198 from tingxingdong/performanceData1
TimmyLiu Dec 15, 2015
843bff5
Add caching mechanism based on context and device for gemm and trsm
pavanky Dec 15, 2015
596925c
Work around for an nvidia bug when querying kernel function name
pavanky Dec 15, 2015
f7397fe
Add cl_khr_fp64 when using double precision
shehzan10 Dec 15, 2015
1983aaf
Changing AutoGemm scripts to work with both python2 and python3
pavanky Dec 16, 2015
bef2f6b
Attempt to build from souce if build from binary fails
pavanky Dec 16, 2015
ad00a99
Merge pull request #199 from arrayfire/arrayfire-release-test
TimmyLiu Dec 16, 2015
7aba3d0
Find the python interpreter using cmake
pavanky Dec 16, 2015
590b47d
Merge pull request #200 from arrayfire/arrayfire-release-test
TimmyLiu Dec 17, 2015
1af16a8
Fixing issue with beta == 0 in AutoGemm kernels
pavanky Dec 17, 2015
969b5c6
Fixing integer divides to make clBLAS work when building with python3
pavanky Dec 17, 2015
c41cc5d
Trtri kernel build options were hard coded to 2.0
pavanky Dec 17, 2015
c355d02
Merge pull request #202 from arrayfire/arrayfire-release-test
guacamoleo Jan 4, 2016
8851fc1
attempts to fix travis ci build with missing fglrx
Jan 4, 2016
22da020
previous commit failed to verify khrons' certificate. try dist trusty…
Jan 4, 2016
d340d57
typo fix
Jan 4, 2016
d43c42b
not build client for now
Jan 4, 2016
27653ce
Merge pull request #209 from TimmyLiu/develop
TimmyLiu Jan 4, 2016
de196fe
bump develop version number to 2.11.0
TimmyLiu Jan 5, 2016
fffd478
bump master branch version number to 2.10.0
Jan 6, 2016
d16f7b3
Merge pull request #210 from TimmyLiu/master
TimmyLiu Jan 5, 2016
a649bde
avoid removing userGemmClKernels.cc with make clean
Jan 7, 2016
aa637b6
Merge pull request #213 from TimmyLiu/develop
TimmyLiu Jan 7, 2016
6041a3a
fix some exception hanlers. now test-functional all pass
Jan 7, 2016
87bab9e
Merge pull request #214 from TimmyLiu/develop
TimmyLiu Jan 7, 2016
9d4c312
Protect pragma in preprocessor macro by using _Pragma. clang 3.7 will…
iotamudelta Jan 10, 2016
5ac6253
fix a hard coding bug
tingxingdong Jan 19, 2016
7385f68
put the numQueues to be 1
tingxingdong Jan 19, 2016
627c654
Fixing issue with beta == 0 in UserGemm kernels
shehzan10 Jan 16, 2016
9c66a77
Fixing issues for when Beta == 0 in sgemm special cases
pavanky Jan 18, 2016
d32081a
Fix barriers in dtrsm specialized kernels
shehzan10 Jan 19, 2016
3ec45fd
fix a bug in gflops count
tingxingdong Jan 20, 2016
c716d40
Only use the -m32 or -m64 compiler flags on x86.
psyhtest Feb 1, 2016
ae53114
Merge pull request #221 from arrayfire/arrayfire-release-test
TimmyLiu Feb 1, 2016
e3c306a
Merge pull request #216 from iotamudelta/develop
TimmyLiu Feb 1, 2016
af30f4c
Merge pull request #222 from dividiti/arm-support
Feb 18, 2016
1f63b34
Update .travis.yml and appveyor.yml
jszuppe Feb 25, 2016
1c5ba46
Merge pull request #234 from haahh/update-travis
guacamoleo Feb 29, 2016
3e2c826
proposed fix for gemm thread safety; using thread-local storage for k…
guacamoleo Feb 29, 2016
1ab9efd
re-submit after CI fix; removing dummy whitespace
guacamoleo Feb 29, 2016
2b56167
TLS for gcc 4.6
guacamoleo Mar 1, 2016
02cf387
fixing duplicate include and removing TODO note
guacamoleo Mar 2, 2016
7a74778
compiling kernels is now thread safe; not using global cl_kernel objects
guacamoleo Mar 3, 2016
c590881
thread safety: no longer using global cl_kernel objects. thread safet…
guacamoleo Mar 3, 2016
15548cf
Merge pull request #235 from guacamoleo/develop
Mar 4, 2016
ed8ee7e
fix the compilation bug about c(z)dotc_
tingxingdong Mar 18, 2016
c5d141d
Merge pull request #242 from tingxingdong/test
TimmyLiu Mar 18, 2016
2465662
fix the header accordingly
tingxingdong Mar 22, 2016
8491085
fixed compareMatrices to use GTEST_FLOAT_EQ
guacamoleo Mar 25, 2016
075dd8f
Merge pull request #244 from tingxingdong/test
Mar 25, 2016
6df2f99
Merge pull request #245 from guacamoleo/develop
tingxingdong Mar 25, 2016
184bb07
fix error with missing KernelName variable
hughperkins Mar 27, 2016
90ad0a2
Merge pull request #249 from hughperkins/missing-kernelname
guacamoleo Mar 28, 2016
d103fee
Add .pyc files to .gitignore
hughperkins Mar 30, 2016
f7c076b
Merge pull request #254 from hughperkins/gitignore-add-pyc
guacamoleo Mar 30, 2016
be56a61
Revert "fixed compareMatrices to use GTEST_FLOAT_EQ"
Apr 13, 2016
1e86e34
Adding detection for boost 1.60
Apr 14, 2016
5c0d759
Removed ::cerr wrt calling reference and clblas
Apr 15, 2016
ac1854d
Removing the printing of unit test parameters
Apr 15, 2016
2283077
Device selection for test-correctness and test-functional
Apr 18, 2016
f682e98
Merge pull request #258 from kknox/unit-test-improvements
Apr 19, 2016
da0fd1b
Make installing source tree optional
hughperkins Apr 20, 2016
7911b0e
Merge pull request #252 from hughperkins/optional-install-src
Apr 20, 2016
e0df18b
Removing the pedantic flag from gcc compiles
Apr 20, 2016
96cae21
Commenting out further #pragma warning messages
Apr 29, 2016
162e779
Merge pull request #264 from kknox/fix-warnings
May 2, 2016
d20977e
Support for altivec on powerpc64 P8 systems (#262)
tfauck May 5, 2016
00a29c6
allow users to easily verify the gemm/trmm GPU results with the netli…
tingxingdong Jun 20, 2016
8028868
fix #265 - spelling errors in comments and print statements (#276)
abhiShandy Jul 1, 2016
c464ab9
Disable clang error on narrowing conversions.
IvanVergiliev Aug 2, 2016
11b0270
Merge pull request #281 from IvanVergiliev/narrow-conversions
Aug 3, 2016
1775a50
Point the CONTRIBUTING wiki links to the correct repository
IvanVergiliev Aug 2, 2016
0a8a4fa
add missing dependency to pthread (using rwlock functions)
zougloub Jul 24, 2016
9279831
Merge pull request #282 from IvanVergiliev/fix-wiki-links-develop
tingxingdong Aug 3, 2016
b96c1a0
Merge pull request #283 from exmakhina/develop
tingxingdong Aug 3, 2016
0e0c95c
x offset stored in offb, not offa, determines vectorization
Oct 7, 2016
53d25ef
syr2: Y uses incy, not incx
Oct 7, 2016
199b7c0
Merge pull request #290 from mgates3/develop
tingxingdong Oct 10, 2016
69d38d9
Adding additional trsm samples
Jan 16, 2017
a71aa63
Bump version to 2.12.0
Jan 16, 2017
b567cd4
Update README with release notes
Jan 17, 2017
88afc1d
Merge branch 'master' into 2.12
Jan 17, 2017
1f3de2a
Merge pull request #295 from kknox/2.12
Jan 18, 2017
fd75b40
Use .s[0] instead of .x in example_ctrsm.c
cirosantilli Mar 22, 2017
7ec40a2
Use CL_DEVICE_TYPE_ALL for all samples.
cirosantilli Mar 23, 2017
7722aa8
Merge pull request #311 from cirosantilli/device-all
tingxingdong Mar 23, 2017
0fe72ce
Revert "Use CL_DEVICE_TYPE_ALL for all samples"
tingxingdong Mar 23, 2017
cf91139
Merge pull request #312 from clMathLibraries/revert-311-device-all
tingxingdong Mar 23, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,12 @@

# Generated kernel template files
*.clT

# flags.txt file
*flags.txt

# vim temp files
.*.swp

# python compiled files
*.pyc
183 changes: 151 additions & 32 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,163 @@
# Ubuntu name decoder ring; https://en.wikipedia.org/wiki/List_of_Ubuntu_releases
# Ubuntu 12.04 LTS (Precise Pangolin) <== Travis CI VM image
# Ubuntu 12.10 (Quantal Quetzal)
# Ubuntu 13.04 (Raring Ringtail)
# Ubuntu 13.10 (Saucy Salamander)
# Ubuntu 14.04 LTS (Trusty Tahr)
# Ubuntu 14.10 (Utopic Unicorn)
# Ubuntu 15.04 (Vivid Vervet)
# Ubuntu 15.10 (Wily Werewolf)
# Ubuntu 16.04 LTS (Xenial Xantus)

# language: instructs travis what compilers && environment to set up in build matrix
language: cpp

# sudo: false instructs travis to build our project in a docker VM (faster)
# Can not yet install fglrx packages with 'false'
sudo: required # false
dist: trusty

# os: expands the build matrix to include multiple os's
# disable linux, as we get sporadic failures on building boost, needs investigation
os:
- linux
- osx

# compiler: expands the build matrix to include multiple compilers (per os)
compiler:
- gcc
- clang

addons:
# apt: is disabled on osx builds
# apt: needed by docker framework to install project dependencies without
# sudo. Apt uses published Ubunto PPA's from https://launchpad.net/
# https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json
apt:
sources:
# ubuntu-toolchain-r-test contains newer versions of gcc to install
# - ubuntu-toolchain-r-test
# llvm-toolchain-precise-3.6 contains newer versions of clang to install
# - llvm-toolchain-precise-3.6
# kubuntu-backports contains newer versions of cmake to install
- kubuntu-backports
# boost-latest contains boost v1.55
- boost-latest
packages:
- gfortran
# g++-4.8 is minimum version considered to be the first good c++11 gnu compiler
# - g++-4.8
# - clang-3.6
# We require v2.8.12 minimum
- cmake
# I'm finding problems between pre-compiled versions of boost ublas, with gtest
# stl_algobase.h: error: no matching function for call to swap()
- libboost-program-options1.55-dev
# - libboost-serialization1.55-dev
# - libboost-filesystem1.55-dev
# - libboost-system1.55-dev
# - libboost-regex1.55-dev
# The package opencl-headers on 'precise' only installs v1.1 cl headers; uncomment for 'trusty' or greater
# - opencl-headers
# Uncomment one of the following when fglrx modules are added to the apt whitelist
# - fglrx
# - fglrx=2:8.960-0ubuntu1
# - fglrx=2:13.350.1-0ubuntu0.0.1

# env: specifies additional global variables to define per row in build matrix
env:
global:
- CLBLAS_ROOT=${TRAVIS_BUILD_DIR}/bin/make/release
- OPENCL_REGISTRY=https://www.khronos.org/registry/cl
- OPENCL_ROOT=${TRAVIS_BUILD_DIR}/bin/opencl

# The following filters our build matrix; we are interested in linux-gcc & osx-clang
matrix:
exclude:
- os: linux
compiler: clang
- os: osx
compiler: gcc

before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq fglrx opencl-headers libboost-program-options-dev libgtest-dev
# Uncomment below to help verify the installs above work
# - ls -la /usr/lib/libboost*
# - ls -la /usr/include/boost
# - ls -la /usr/src/gtest
# Remove the following linux clause when fglrx can be installed with sudo: false
#- if [ ${TRAVIS_OS_NAME} == "linux" ]; then
# sudo apt-get update -qq &&
# sudo apt-get install -qq fglrx=2:13.350.1-0ubuntu0.0.1;
# fi
#- if [ ${TRAVIS_OS_NAME} == "linux" ]; then
# export OPENCL_ROOT="${TRAVIS_BUILD_DIR}/opencl-headers";
# fi
- if [ ${TRAVIS_OS_NAME} == "osx" ]; then
brew update;
brew outdated boost || brew upgrade boost;
brew outdated cmake || brew upgrade cmake;
fi
# - if [ ${CXX} = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- cmake --version;
- ${CC} --version;
- ${CXX} --version;

install:
- mkdir -p bin/gTest
- cd bin/gTest
- cmake -DCMAKE_BUILD_TYPE=Release /usr/src/gtest
- make
- sudo mv libg* /usr/lib
# 'Precise' only distributes v1.1 opencl headers; download 1.2 headers from khronos website
# Remove when the travis VM upgrades to 'trusty' or beyond
#- if [ ${TRAVIS_OS_NAME} == "linux" ]; then
# mkdir -p ${OPENCL_ROOT}/include/CL;
# pushd ${OPENCL_ROOT}/include/CL;
# wget -w 1 -r -np -nd -nv -A h,hpp https://www.khronos.org/registry/cl/api/1.2/;
# popd;
# fi
# The following linux logic is necessary because of Travis's move to the GCE platform, which does not
# currently contain packages for fglrx: https://github.com/travis-ci/travis-ci/issues/5221
# We build our own linkable .so file
- if [ ${TRAVIS_OS_NAME} == "linux" ]; then
mkdir -p ${OPENCL_ROOT};
pushd ${OPENCL_ROOT};
travis_retry git clone --depth 1 https://github.com/KhronosGroup/OpenCL-ICD-Loader.git;
mv ./OpenCL-ICD-Loader/* .;
travis_retry git clone --depth 1 https://github.com/KhronosGroup/OpenCL-Headers.git inc/CL;
pushd inc/CL;
travis_retry wget -w 1 -np -nd -nv -A h,hpp ${OPENCL_REGISTRY}/api/2.1/cl.hpp;
popd;
mkdir -p lib;
pushd lib;
cmake -G "Unix Makefiles" ..;
make;
cp ./bin/libOpenCL.so .;
popd;
pushd inc/CL;
travis_retry git fetch origin opencl12:opencl12;
git checkout opencl12;
popd;
mv inc/ include/;
popd;
fi
# osx image does not contain cl.hpp file; download from Khronos
# - if [ ${TRAVIS_OS_NAME} == "osx" ]; then
# pushd /System/Library/Frameworks/OpenCL.framework/Versions/A/Headers/;
# sudo wget -w 1 -np -nd -nv -A h,hpp https://www.khronos.org/registry/cl/api/1.2/cl.hpp;
# popd;
# fi

# Use before_script: to run configure steps
before_script:
- cd ${TRAVIS_BUILD_DIR}
- mkdir -p bin/clBLAS
- cd bin/clBLAS
- cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TEST=OFF -DBUILD_CLIENT=ON -DCMAKE_INSTALL_PREFIX:PATH=$PWD/package ../../src

script:
- make install
# - ls -Rla package
# Run a simple test to validate that the build works; CPU device in a VM
- cd package/bin
- export LD_LIBRARY_PATH=${TRAVIS_BUILD_DIR}/bin/clBLAS/package/lib64:${LD_LIBRARY_PATH}
- ./client --cpu

after_success:
- cd ${TRAVIS_BUILD_DIR}/bin/clBLAS
- mkdir -p ${CLBLAS_ROOT}
- pushd ${CLBLAS_ROOT}
- cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TEST=OFF -DBUILD_CLIENT=OFF -DOCL_VERSION=2.0 -DOPENCL_ROOT=${OPENCL_ROOT} ${TRAVIS_BUILD_DIR}/src

# use script: to execute build steps
script:
- make package

notifications:
email:
- clmath-developers@googlegroups.com
on_success: change
on_failure: always

#deploy:
# provider: releases
# prerelease: true
# draft: true
# skip_cleanup: true
# api_key:
# secure: MBkxtcfSk+4UvGRO+WRhmS86vIVzAs0LIF2sAtr/S+Ed+OdUAuhZypUsDXGWtK3mL55v9c8BZXefFfHfJqElcNmyHKwCptbCR/JiM8YBtjoy2/RW1NcJUZp+QuRlk23xPADj7QkPjv7dfrQUMitkLUXAD+uTmMe2l8gmlbhMrQqPBKhb+31FNv6Lmo6oa6GjbiGi7qjsrJc7uQjhppLam+M7BZbBALGbIqMIrb2BMDMMhBoDbb4zSKrSg3+krd3kKiCClJlK7xjIlyFXZ527ETQ+PMtIeQb0eJ3aQwa4caBRCm5BDzt8GnJ48S88EkynbQioCEE87ebcyOM7M+wfslW/Fm1Y86X5odIljkOmTNKoDvgLxc9vUCBtMyVHNIgZcToPdsrMsGxcHV+JtU3yVQVm6dnA5P/zG5bA+aBjsd7p7BdOE4fdhvZV5XRAk/wmiyWalF7hKJxHIiWAKknL+tpPDDUF+fHmDDsdf7yRDJBegNcKfw4+m19MIvLn9fbiNVCtwCAL1T4yWkIEpi4MRMDPtftmkZPbi6UwluOJUTeCeHe4en99Yu2haemNPqXs6rR0LlXGk31GQwzlrNfb+94F5tT2a4Ka4PsruA2NMW/IYCYEE5Gu7PihVDR031Fn9cdCU9kefUgyB07rJD6q/W+ljsU0osyg7VxyfMg8rkw=
# file: ${CLBLAS_ROOT}/clBLAS-build/*.tar.gz
# file_glob: true
# on:
# all_branches: true
# tags: true
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ We want to ensure that the project code base maintains a level of quality over t
guidelines over time
* separate check-ins that modify a files style from the ones that add/change/delete code.
* target the **develop** branch in the repository
* ensure that the [code properly builds]( https://github.com/kknox/clBLAS/wiki/Build )
* ensure that the [code properly builds]( https://github.com/clMathLibraries/clBLAS/wiki/Build )
* cannot break existing test cases
* we encourage contributors to [run the test-short]( https://github.com/kknox/clBLAS/wiki/Testing ) suite of tests on their end before the pull-request
* we encourage contributors to [run the test-short]( https://github.com/clMathLibraries/clBLAS/wiki/Testing ) suite of tests on their end before the pull-request
* if possible, upload the test results associated with the pull request to a personal [gist repository]( https://gist.github.com/ ) and insert a link to the test results in the pull request so that collaborators can browse the results
* if no test results are provided with the pull request, official collaborators will run the test suite on their test machines against the patch before we will accept the pull-request
* if we detect failing test cases, we will request that the code associated with the pull request be fixed before the pull request will be merged
Expand Down
25 changes: 0 additions & 25 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -175,28 +175,3 @@
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Loading
0