https://github.com/jatinx/hip-on-nv
HIP on nv platform
https://github.com/jatinx/hip-on-nv
Last synced: 3 months ago
JSON representation
HIP on nv platform
- Host: GitHub
- URL: https://github.com/jatinx/hip-on-nv
- Owner: jatinx
- License: mit
- Created: 2023-02-05T20:33:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-02T11:27:11.000Z (about 2 years ago)
- Last Synced: 2025-02-05T05:44:31.366Z (4 months ago)
- Language: C++
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hip-on-nv - HIP on nv platforms
Inludes inline and library mode. This is created to work with [PyHIP](https://github.com/jatinx/PyHIP) so that one python wrapper works seamlessly with both platforms.
Make sure you use clang to build it.
**Not ready for production. Still lot of work to be done, increase API coverage and complete error enums**.
## How to build
- `git clone https://github.com/jatinx/hip-on-nv.git && cd hip-on-nv`
- `mkdir build && cd build`
- `cmake .. -DCMAKE_INSTALL_PREFIX= -DCMAKE_CXX_COMPILER=clang++`
- `make install`
- `export HIPNV_INSTALL_PATH=`## Using `hipcc`
`bin` folder has script `hipcc` which basically forwards calls to `nvcc`.
Usage: `hipcc file.cu`
Options:
- `--nvhip-help` : Print help for the utility
- `--nvhip-lib-mode` : Link `nvhip64` lib, has unlined symbols of hip.
- `--nvhip-debug-print` : Print debug info of scripts