Skip to content

cschpc/cudahip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

cudahip

This is a small project to hipify CUDA code without overwriting the CUDA files but create new hip related files and adjust the Makefile to compile the HIP only files

Usage

./cudahip.sh filename

  • If the file has extension .cu then hipifies to a new file with same name and extension .hip.cpp and if it includes .cuh files replace with hip.h
  • If the file is cuda header copy with extension hip.h
  • if the file is cpp and it does include to cuh, copy the file to hip.cpp and rename .cuh to hip.h

About

This is a small project to hipify CUDA code without overwriting the CUDA files but create new hip related files and adjust the Makefile to compile the HIP only files

Resources

License

Stars

1 star

Watchers

5 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages