Skip to content
Snippets Groups Projects
Commit 23f22d74 authored by ESCOBAR MUNOZ Juan's avatar ESCOBAR MUNOZ Juan
Browse files

Juan 17/11/2020: Rules.LXpgi2004.mk, for MANAGEDO2 compile spll_modd_halo_d.o...

Juan 17/11/2020: Rules.LXpgi2004.mk, for MANAGEDO2 compile spll_modd_halo_d.o without managed memory for real GPUDIRECT usage + minor modif
parent 155b6d59
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ CUDALEVEL=cuda10.1
#
#Compute capability of GPU
#
OPT_CPTCAP=cc35,cc50,cc70
OPT_CPTCAP=cc35,cc50,cc60,cc70
#Aeropc45: cc50
#Nuwa: cc35
#Ouessant Firestone K80: cc35
......@@ -42,9 +42,9 @@ OPT_PERF1 = -O1
OPT_PERF2 = -O2
#
OPT_MANAGED = -Mframe -Mnostack_arrays -Mallocatable=95 -ta=host,tesla:nofma,$(OPT_CPTCAP),$(CUDALEVEL),managed $(OPT_INFO) $(OPT_PROF)
OPT_MULTICORE = -ta=multicore $(OPT_INFO) $(OPT_PROF)
OPT_NOOPENACC = -ta=host $(OPT_INFO) $(OPT_PROF)
OPT_OPENACC = -Mnostack_arrays -Mnostack_arrays -Mallocatable=95 -ta=host,tesla:nofma,$(OPT_CPTCAP),$(CUDALEVEL) $(OPT_INFO) $(OPT_PROF)
OPT_MULTICORE = -ta=multicore $(OPT_INFO) $(OPT_PROF)
OPT_NOOPENACC = -ta=host $(OPT_INFO) $(OPT_PROF)
OPT_OPENACC = -Mframe -Mnostack_arrays -Mallocatable=95 -ta=host,tesla:nofma,$(OPT_CPTCAP),$(CUDALEVEL) $(OPT_INFO) $(OPT_PROF)
#
OPT_CHECK = -C #-Mchkfpstk -Mchkptr
OPT_I8 = -i8
......@@ -102,7 +102,9 @@ OPT0 = $(OPT_BASE) $(OPT_MANAGED) $(OPT_PERF0)
OPT_NOCB = $(OPT_BASE) $(OPT_MANAGED) $(OPT_PERF2)
CXXFLAGS = -acc -Kieee -Mnofma $(OPT_MANAGED)
OBJS_REPROD= spll_mode_sum_ll.o
$(OBJS_REPROD) : OPT = $(OPT_BASE) $(OPT_MANAGED) $(OPT_PERF2) -Mvect=nosimd -Minfo=all
$(OBJS_REPROD) : OPT = $(OPT_BASE) $(OPT_MANAGED) $(OPT_PERF2) -Mvect=nosimd -Minfo=all
OBJS_OPENACC = spll_modd_halo_d.o
$(OBJS_OPENACC) : OPT = $(OPT_BASE) $(OPT_OPENACC) $(OPT_PERF2)
endif
#
ifeq "$(OPTLEVEL)" "MULTICORE"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment