Skip to content
Snippets Groups Projects
Commit f9da2262 authored by Recolic Keghart's avatar Recolic Keghart
Browse files

hipify 1

parent dbab80d6
No related branches found
No related tags found
No related merge requests found
NVCC = nvcc
NVCC = /opt/rocm/hip/bin/hipcc
# 75 for Turing architecture.
default:
$(NVCC) -I. -O3 -std=c++14 -gencode arch=compute_75,code=sm_75 gpma_bfs_demo.cu --cudart static --relocatable-device-code=true -o gpma_bfs_demo
$(NVCC) -I. -O3 -std=c++14 --amdgpu-target=x86 -o gpma_bfs_demo gpma_bfs_demo.cu
# $(NVCC) -I. -O3 -std=c++14 -gencode arch=compute_75,code=sm_75 gpma_bfs_demo.cu --cudart static --relocatable-device-code=true -o gpma_bfs_demo
gpma_bfs_demo:
$(NVCC) -I./ -O3 -std=c++14 -w -gencode arch=compute_75,code=sm_75 -odir "." -M -o "gpma_bfs_demo.d" "./gpma_bfs_demo.cu"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment