Skip to content

Commit d16f2b5

Browse files
authored
disable the inline hack with HIP (#1780)
we can how toggle it via a build parameter
1 parent 59d2f09 commit d16f2b5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Make.Microphysics_extern

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# This is the main include makefile for applications that want to use Microphysics
22
# You should set NETWORK_OUTPUT_PATH before including this file
33

4-
# For HIP, inlining produces large kernels that seem to cause memory issues
4+
# For some (older?) versions of HIP, inlining produces large kernels
5+
# that seem to cause memory issues
56
ifeq ($(USE_HIP),TRUE)
7+
ifeq ($(DISABLE_HIP_INLINE),TRUE)
68
EXTRACXXFLAGS += -mllvm -amdgpu-function-calls=true
9+
endif
710
endif
811

912
# for common code paths between simplified-SDC and true-SDC, we'll

0 commit comments

Comments
 (0)