Skip to content
/ cudahip Public

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

License

Notifications You must be signed in to change notification settings

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages