Skip to content

Commit a55d3ae

Browse files
author
Timmy
committed
Merge branch 'develop' of https://github.com/clMathLibraries/clBLAS into develop
2 parents 1795886 + 0a6d431 commit a55d3ae

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

.travis.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,34 @@ compiler:
55

66
before_install:
77
- sudo apt-get update -qq
8-
- sudo apt-get install -qq fglrx opencl-headers libboost-program-options-dev
8+
- sudo apt-get install -qq fglrx libboost-program-options-dev
99
# Uncomment below to help verify the installs above work
1010
# - ls -la /usr/lib/libboost*
1111
# - ls -la /usr/include/boost
1212

1313
before_script:
1414
- cd ${TRAVIS_BUILD_DIR}
15+
# download OpenCL 1.2 header files since Travis CI only provides 1.1
16+
- mkdir -p OpenCLInclude/CL
17+
- cd OpenCLInclude/CL
18+
#- wget -r --no-parent -nH --cut-dirs=4 --reject="index.html*" https://www.khronos.org/registry/cl/api/1.2/
19+
- wget https://www.khronos.org/registry/cl/api/1.2/cl.h
20+
- wget https://www.khronos.org/registry/cl/api/1.2/cl.hpp
21+
- wget https://www.khronos.org/registry/cl/api/1.2/cl_d3d10.h
22+
- wget https://www.khronos.org/registry/cl/api/1.2/cl_d3d11.h
23+
- wget https://www.khronos.org/registry/cl/api/1.2/cl_dx9_media_sharing.h
24+
- wget https://www.khronos.org/registry/cl/api/1.2/cl_egl.h
25+
- wget https://www.khronos.org/registry/cl/api/1.2/cl_ext.h
26+
- wget https://www.khronos.org/registry/cl/api/1.2/cl_gl.h
27+
- wget https://www.khronos.org/registry/cl/api/1.2/cl_gl_ext.h
28+
- wget https://www.khronos.org/registry/cl/api/1.2/cl_platform.h
29+
- wget https://www.khronos.org/registry/cl/api/1.2/opencl.h
30+
- ls
31+
- pwd
32+
- cd ../..
1533
- mkdir -p bin/clBLAS
1634
- cd bin/clBLAS
17-
- cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TEST=OFF -DBUILD_CLIENT=ON -DCMAKE_INSTALL_PREFIX:PATH=$PWD/package ../../src
35+
- cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TEST=OFF -DBUILD_CLIENT=ON -DOPENCL_INCLUDE_DIRS:PATH=$PWD/../../OpenCLInclude -DCMAKE_INSTALL_PREFIX:PATH=$PWD/package ../../src
1836

1937
script:
2038
- make install

src/library/blas/functor/functor_selector.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,16 @@ clblasFunctorSelector::find(DeviceChip chip)
9696

9797
int clblasFunctorSelector::FindFirePro(cl_device_id device)
9898
{
99-
char cardName [1024];
99+
return 1;
100+
/*char cardName [1024];
100101
cl_int error = clGetDeviceInfo(device, CL_DEVICE_BOARD_NAME_AMD, sizeof(cardName), cardName, NULL);
101102
if (error!=CL_SUCCESS)
102103
return 0;
103104
else if (strstr (cardName, "FirePro"))
104105
return 1;
105106
else
106107
return 0;
108+
*/
107109
}
108110

109111
// =================================================================================

0 commit comments

Comments
 (0)