-
Notifications
You must be signed in to change notification settings - Fork 95
/
INSTALL
24 lines (17 loc) · 983 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
This library should build without problems on Mac OS X (10.5+), Linux,
and Windows. If you encounter a build problem, please report it along
with a log of the build messages to [email protected].
Requirements:
- either an OpenCL runtime (with headers) or the CUDA toolkit
- CMake [ https://cmake.org ] (to build)
Run CMake on the CMakeList.txt file in src/ and build according to
your platform. Set CMAKE_INSTALL_PREFIX to your desired path if you
don't want the platform default.
('cmake -DCMAKE_INSTALL_PREFIX=<prefix>' for unix-like platforms)
Pay attention to the messages from CMake since the library might still
build if no backends are found, but it won't be very useful.
There are instruction for installation in the CMake file which make
'make install' work on unix-like platforms. I have no idea how to
install on Windows.
If you also want the python bindings, run 'python setup.py install'
after building and installing the library which will install pygpu.