Skip to content

Commit

Permalink
disable multi-targets for alpaka/rocm,cuda backends
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Jan 18, 2024
1 parent e18687d commit 6281806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SCRAM/GMake/Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,7 @@ endef
#safename,path,safepath,scriptstore,scripts,libstore,logprodstore,plugintype
define Library
$(1)_plugintype:=$(8)
ifeq ($(SCRAM_MULTI_TARGET),1)
ifeq ($(strip $(SCRAM_MULTI_TARGET)$(filter alpaka/cuda alpaka/rocm,$($(1)_PRODUCT_TYPE))),1)
ifeq ($(strip $(USER_TARGETS_ALL)),1)
$(1)_LOC_FLAGS_TARGETS:=$(call GetCompilerData,$1,SCRAM_TARGETS)
else ifeq ($(strip $($(1)_LOC_FLAGS_TARGETS)),1)
Expand Down

0 comments on commit 6281806

Please sign in to comment.