@@ -31,6 +31,7 @@ set( REFERENCE_BACKEND_DEFAULT_NAME "backend_reference" )
3131set ( REFERENCE_OMP_BACKEND_DEFAULT_NAME "backend_reference_omp" )
3232set ( BSP1D_BACKEND_DEFAULT_NAME "backend_bsp1d" )
3333set ( HYBRID_BACKEND_DEFAULT_NAME "backend_hybrid" )
34+ set ( DENSE_BACKEND_DEFAULT_NAME "backend_reference_dense" )
3435
3536
3637### COMPILER DEFINITIONS FOR HEADERS INCLUSION AND FOR BACKEND SELECTION
@@ -39,6 +40,7 @@ set( HYBRID_BACKEND_DEFAULT_NAME "backend_hybrid" )
3940set ( REFERENCE_INCLUDE_DEFS "_GRB_WITH_REFERENCE" )
4041set ( REFERENCE_OMP_INCLUDE_DEFS "_GRB_WITH_OMP" )
4142set ( LPF_INCLUDE_DEFS "_GRB_WITH_LPF" )
43+ set ( DENSE_INCLUDE_DEFS "_GRB_WITH_DENSEREF" )
4244
4345# compiler definitions to select a backend
4446set ( REFERENCE_SELECTION_DEFS "_GRB_BACKEND=reference" )
@@ -52,12 +54,13 @@ set( HYBRID_SELECTION_DEFS
5254 "_GRB_BSP1D_BACKEND=reference_omp"
5355 "_GRB_COORDINATES_BACKEND=reference_omp"
5456)
57+ set ( DENSE_SELECTION_DEFS "_GRB_BACKEND=reference_dense" )
5558
5659# definition to set if not depending on libnuma
5760set ( NO_NUMA_DEF "_GRB_NO_LIBNUMA" )
5861
5962### **ALL** BACKENDS, EVEN IF NOT ENABLED BY USER
60- set ( ALL_BACKENDS "reference" "reference_omp" "bsp1d" "hybrid" )
63+ set ( ALL_BACKENDS "reference" "reference_omp" "bsp1d" "hybrid" "reference_dense" )
6164
6265
6366# list of user-enabled backends, for tests and wrapper scripts (do not change!)
@@ -67,14 +70,18 @@ set( AVAILABLE_BACKENDS "" )
6770# backends that are enabled by the user: append as in the following
6871
6972# shared memory backends
70- if ( WITH_REFERENCE_BACKEND )
73+ if ( WITH_REFERENCE_BACKEND )
7174 list ( APPEND AVAILABLE_BACKENDS "reference" )
7275endif ()
7376
7477if ( WITH_OMP_BACKEND )
7578 list ( APPEND AVAILABLE_BACKENDS "reference_omp" )
7679endif ()
7780
81+ if ( WITH_DENSE_BACKEND )
82+ list ( APPEND AVAILABLE_BACKENDS "reference_dense" )
83+ endif ()
84+
7885# distributed memory backends
7986if ( WITH_BSP1D_BACKEND )
8087 list ( APPEND AVAILABLE_BACKENDS "bsp1d" )
@@ -85,3 +92,4 @@ if( WITH_HYBRID_BACKEND )
8592endif ()
8693
8794# add your own here!
95+
0 commit comments