Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ariostas committed Apr 5, 2024
1 parent 32954cb commit 348a00d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
9 changes: 0 additions & 9 deletions SDL/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,18 +99,12 @@ CUTVALUEFLAG_FLAGS = -DCUT_VALUE_DEBUG

$(LIB_CPU): $(CCOBJECTS_CPU) $(LSTOBJECTS_CPU)
$(LD_CPU) $(SOFLAGS_CPU) $^ -o $@
mkdir -p cpu
ln -sf ../$@ cpu/$(@:_cpu.so=.so)

$(LIB_CUDA): $(CCOBJECTS_CUDA) $(LSTOBJECTS_CUDA)
$(LD_CUDA) $(SOFLAGS_CUDA) $^ -o $@
mkdir -p cuda
ln -sf ../$@ cuda/$(@:_cuda.so=.so)

$(LIB_ROCM): $(CCOBJECTS_ROCM) $(LSTOBJECTS_ROCM)
$(LD_ROCM) $(SOFLAGS_ROCM) $^ -o $@
mkdir -p rocm
ln -sf ../$@ rocm/$(@:_rocm.so=.so)

explicit: $(LIBS)

Expand All @@ -126,9 +120,6 @@ clean:
rm -f *.o
rm -f *.d
rm -f *.so
rm -rf cpu/
rm -rf cuda/
rm -rf rocm/

.PHONY: clean explicit explicit_cache explicit_cache_cutvalue format check check-fix

Expand Down
3 changes: 2 additions & 1 deletion bin/sdl_make_tracklooper
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ if [ -z ${PTCUTVALUE} ]; then PTCUTVALUE=0.8; fi
if [ "${CPUBACKEND}" == false ] && [ "${CUDABACKEND}" == false ] && [ "${ROCMBACKEND}" == false ]; then
CPUBACKEND=true
CUDABACKEND=true
elif [ "${ALLBACKENDS}" == true ]; then
fi
if [ "${ALLBACKENDS}" == true ]; then
CPUBACKEND=true
CUDABACKEND=true
ROCMBACKEND=true
Expand Down
2 changes: 1 addition & 1 deletion bin/sdl_run
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ elif [ "${BACKEND}" == "rocm" ]; then
fi
ln -s -f ${TRACKLOOPERDIR}/bin/sdl_rocm ${TRACKLOOPERDIR}/bin/sdl
elif [ "${BACKEND}" == "default" ]; then
if [[ ! -L ${TRACKLOOPERDIR}/bin/sdl || ! -e ${TRACKLOOPERDIR}/bin/sdl ]]; then
if [[ ! -e ${TRACKLOOPERDIR}/bin/sdl ]]; then
echo "Error: default backend was not found. Please recompile."
exit 1
fi
Expand Down

0 comments on commit 348a00d

Please sign in to comment.