Skip to content

Commit

Permalink
Fix rocm compilation of dev.cc files
Browse files Browse the repository at this point in the history
  • Loading branch information
ariostas authored Mar 27, 2024
1 parent 95cbc7a commit 754e496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SCRAM/GMake/Makefile.rocm
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ endef
define AddRocmRules
$(1)_rocmfiles := $(filter $(foreach e,$(ROCM_EXTRA_EXT),%.$e),$($(1)_files))
$(1)_rocm_dlink_deps := $$(call rocm_dlink_deps,$1)
ifeq ($(strip $($(1)_rocm)),1)
ifneq ($$(strip $$($(1)_rocmfiles)),)
$(1)_DISABLE_LTO := 1
$(1)_DISABLE_PGO := 1
$(1)_linker := $(HIPCC)
Expand Down

0 comments on commit 754e496

Please sign in to comment.