https://github.com/cwsmith/kokkos-sandbox
trying stuff with kokkos
https://github.com/cwsmith/kokkos-sandbox
Last synced: about 1 year ago
JSON representation
trying stuff with kokkos
- Host: GitHub
- URL: https://github.com/cwsmith/kokkos-sandbox
- Owner: cwsmith
- License: mit
- Created: 2017-08-24T15:22:00.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-24T17:43:14.000Z (almost 9 years ago)
- Last Synced: 2025-01-11T15:52:27.516Z (over 1 year ago)
- Language: C++
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kokkos-sandbox
trying stuff with kokkos
The build scripts below have a path to kokkos source hardcoded.
## Build on Ray
### Setup
```
module swap xl/beta-2017.07.28 gcc/4.9.3
module load cuda/8.0 cmake/3.7.2
mkdir build-host build-device
```
### Host build
```
cd build-host
../config-ray-gnu-host.sh [Debug|Release]
make
```
### Device build
```
cd build-device
../config-ray-gnu-device.sh [Debug|Release]
make
```
## scalarToArray
write the value of a host scalar into a device array
### Run
`./scalarToArray.[host|device]`