Skip to content

Commit

Permalink
Merge pull request #31 from hpcgroup/hip_patch
Browse files Browse the repository at this point in the history
Rename *.hip to *.cpp
  • Loading branch information
jtramm authored Oct 17, 2023
2 parents 4e1fd33 + f9b4f99 commit 140f311
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
File renamed without changes.
File renamed without changes.
16 changes: 8 additions & 8 deletions hip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ PROFILE = no
program = XSBench

source = \
Main.hip \
io.hip \
Simulation.hip \
GridInit.hip \
XSutils.hip \
Materials.hip
Main.cpp \
io.cpp \
Simulation.cpp \
GridInit.cpp \
XSutils.cpp \
Materials.cpp

obj = $(source:.hip=.o)
obj = $(source:.cpp=.o)

#===============================================================================
# Sets Flags
Expand Down Expand Up @@ -62,7 +62,7 @@ endif
$(program): $(obj) XSbench_header.h Makefile
$(CC) $(CFLAGS) $(obj) -o $@ $(LDFLAGS)

%.o: %.hip XSbench_header.h Makefile
%.o: %.cpp XSbench_header.h Makefile
$(CC) $(CFLAGS) -c $< -o $@

clean:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 140f311

Please sign in to comment.