Skip to content

Commit 172ccf5

Browse files
authored
Update 05-fortran.md
1 parent 13c4d37 commit 172ccf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/05-fortran.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ hipcc -lgfortran "--gpu-architecture=sm_80" -I$HIPFORT_HOME/include/hipfort/nvpt
130130
ftn -I$HIPFORT_HOME/include/hipfort/amdgcn "-DHIPFORT_ARCH=\"amd\"" \
131131
-L$HIPFORT_HOME/lib -lhipfort-amdgcn -c <fortran_code>.f90
132132
133-
hipcc -c <hip_kernels>.cpp
133+
hipcc --offload-arch=gfx90a -c <hip_kernels>.cpp
134134
135135
ftn -I$HIPFORT_HOME/include/hipfort/amdgcn "-DHIPFORT_ARCH=\"amd\"" \
136136
-L$HIPFORT_HOME/lib -lhipfort-amdgcn <fortran_code>.o <hip_kernels>.o -o main

0 commit comments

Comments
 (0)