mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 14:04:32 +00:00 
			
		
		
		
	spin trace type work
This commit is contained in:
		@@ -72,8 +72,8 @@
 | 
				
			|||||||
/* Define to the version of this package. */
 | 
					/* Define to the version of this package. */
 | 
				
			||||||
#undef PACKAGE_VERSION
 | 
					#undef PACKAGE_VERSION
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* SSE2 */
 | 
					/* SSE4 */
 | 
				
			||||||
#undef SSE2
 | 
					#undef SSE4
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Define to 1 if you have the ANSI C header files. */
 | 
					/* Define to 1 if you have the ANSI C header files. */
 | 
				
			||||||
#undef STDC_HEADERS
 | 
					#undef STDC_HEADERS
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -158,7 +158,7 @@ PROGRAMS = $(bin_PROGRAMS)
 | 
				
			|||||||
am_Grid_main_OBJECTS = Grid_main.$(OBJEXT)
 | 
					am_Grid_main_OBJECTS = Grid_main.$(OBJEXT)
 | 
				
			||||||
Grid_main_OBJECTS = $(am_Grid_main_OBJECTS)
 | 
					Grid_main_OBJECTS = $(am_Grid_main_OBJECTS)
 | 
				
			||||||
Grid_main_DEPENDENCIES = libGrid.a
 | 
					Grid_main_DEPENDENCIES = libGrid.a
 | 
				
			||||||
am_test_Grid_stencil_OBJECTS = test_Grid_Stencil.$(OBJEXT)
 | 
					am_test_Grid_stencil_OBJECTS = test_Grid_stencil.$(OBJEXT)
 | 
				
			||||||
test_Grid_stencil_OBJECTS = $(am_test_Grid_stencil_OBJECTS)
 | 
					test_Grid_stencil_OBJECTS = $(am_test_Grid_stencil_OBJECTS)
 | 
				
			||||||
test_Grid_stencil_DEPENDENCIES = libGrid.a
 | 
					test_Grid_stencil_DEPENDENCIES = libGrid.a
 | 
				
			||||||
AM_V_P = $(am__v_P_@AM_V@)
 | 
					AM_V_P = $(am__v_P_@AM_V@)
 | 
				
			||||||
@@ -370,7 +370,7 @@ include_HEADERS = Grid_config.h\
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Grid_main_SOURCES = Grid_main.cc
 | 
					Grid_main_SOURCES = Grid_main.cc
 | 
				
			||||||
Grid_main_LDADD = libGrid.a
 | 
					Grid_main_LDADD = libGrid.a
 | 
				
			||||||
test_Grid_stencil_SOURCES = test_Grid_Stencil.cc
 | 
					test_Grid_stencil_SOURCES = test_Grid_stencil.cc
 | 
				
			||||||
test_Grid_stencil_LDADD = libGrid.a
 | 
					test_Grid_stencil_LDADD = libGrid.a
 | 
				
			||||||
all: Grid_config.h
 | 
					all: Grid_config.h
 | 
				
			||||||
	$(MAKE) $(AM_MAKEFLAGS) all-am
 | 
						$(MAKE) $(AM_MAKEFLAGS) all-am
 | 
				
			||||||
@@ -523,7 +523,7 @@ distclean-compile:
 | 
				
			|||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Grid_init.Po@am__quote@
 | 
					@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Grid_init.Po@am__quote@
 | 
				
			||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Grid_main.Po@am__quote@
 | 
					@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Grid_main.Po@am__quote@
 | 
				
			||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Grid_stencil_common.Po@am__quote@
 | 
					@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Grid_stencil_common.Po@am__quote@
 | 
				
			||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Grid_Stencil.Po@am__quote@
 | 
					@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Grid_stencil.Po@am__quote@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.cc.o:
 | 
					.cc.o:
 | 
				
			||||||
@am__fastdepCXX_TRUE@	$(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
 | 
					@am__fastdepCXX_TRUE@	$(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										17
									
								
								TODO
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								TODO
									
									
									
									
									
								
							@@ -7,18 +7,16 @@ AUDITS:
 | 
				
			|||||||
* extract / merge extra implementation removal      
 | 
					* extract / merge extra implementation removal      
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					BUILD:
 | 
				
			||||||
 | 
					* Test infrastructure
 | 
				
			||||||
 | 
					* subdirs lib, tests ??
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FUNCTIONALITY:
 | 
					FUNCTIONALITY:
 | 
				
			||||||
 | 
					 | 
				
			||||||
* Conditional execution, where etc...                -----DONE, simple test
 | 
					* Conditional execution, where etc...                -----DONE, simple test
 | 
				
			||||||
 | 
					 | 
				
			||||||
* Integer relational support                         -----DONE
 | 
					* Integer relational support                         -----DONE
 | 
				
			||||||
 | 
					 | 
				
			||||||
* Coordinate information, integers etc...            -----DONE
 | 
					* Coordinate information, integers etc...            -----DONE
 | 
				
			||||||
 | 
					 | 
				
			||||||
* Integer type padding/union to vector.              -----DONE 
 | 
					* Integer type padding/union to vector.              -----DONE 
 | 
				
			||||||
 | 
					 | 
				
			||||||
* LatticeCoordinate[mu]                              -----DONE
 | 
					* LatticeCoordinate[mu]                              -----DONE
 | 
				
			||||||
 | 
					 | 
				
			||||||
* Stencil operator support                           -----Initial thoughts, trial implementation DONE.
 | 
					* Stencil operator support                           -----Initial thoughts, trial implementation DONE.
 | 
				
			||||||
                                                     -----some simple tests that Stencil matches Cshift.
 | 
					                                                     -----some simple tests that Stencil matches Cshift.
 | 
				
			||||||
                                                     -----do all permute in comms phase, so that copy permute
 | 
					                                                     -----do all permute in comms phase, so that copy permute
 | 
				
			||||||
@@ -27,6 +25,12 @@ FUNCTIONALITY:
 | 
				
			|||||||
* CovariantShift support                             -----Use a class to store gauge field? (parallel transport?)
 | 
					* CovariantShift support                             -----Use a class to store gauge field? (parallel transport?)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					POST-SFW call:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					* TraceColor, TraceSpin.
 | 
				
			||||||
 | 
					* How to define simple matrix operations, such as flavour matrices?
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* Subset support, slice sums etc...                  -----Only need slice sum?
 | 
					* Subset support, slice sums etc...                  -----Only need slice sum?
 | 
				
			||||||
                                                     -----Generic cartesian subslicing?
 | 
					                                                     -----Generic cartesian subslicing?
 | 
				
			||||||
                                                     -----Array ranges / boost extents?
 | 
					                                                     -----Array ranges / boost extents?
 | 
				
			||||||
@@ -34,7 +38,6 @@ FUNCTIONALITY:
 | 
				
			|||||||
                                                     -----Suggests generalised cartesian subblocking
 | 
					                                                     -----Suggests generalised cartesian subblocking
 | 
				
			||||||
                                                          sums, returning modified grid?
 | 
					                                                          sums, returning modified grid?
 | 
				
			||||||
					             -----What should interface be?
 | 
										             -----What should interface be?
 | 
				
			||||||
 | 
					 | 
				
			||||||
i)  Two classes of subset;   red black parity subsetting (pick checkerboard).
 | 
					i)  Two classes of subset;   red black parity subsetting (pick checkerboard).
 | 
				
			||||||
                             cartesian sub-block subsetting
 | 
					                             cartesian sub-block subsetting
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										6
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								configure
									
									
									
									
										vendored
									
									
								
							@@ -5009,10 +5009,10 @@ fi
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
case ${ac_SIMD} in
 | 
					case ${ac_SIMD} in
 | 
				
			||||||
     SSE2)
 | 
					     SSE4)
 | 
				
			||||||
       echo Configuring for SSE2
 | 
					       echo Configuring for SSE4
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$as_echo "#define SSE2 1" >>confdefs.h
 | 
					$as_echo "#define SSE4 1" >>confdefs.h
 | 
				
			||||||
 | 
					
 | 
				
			||||||
     ;;
 | 
					     ;;
 | 
				
			||||||
     AVX)
 | 
					     AVX)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,9 +29,9 @@ AC_CHECK_FUNCS([gettimeofday])
 | 
				
			|||||||
AC_ARG_ENABLE([simd],[AC_HELP_STRING([--enable-simd=SSE|AVX|AVX2|AVX512],[Select instructions])],[ac_SIMD=${enable_simd}],[ac_SIMD=AVX2])
 | 
					AC_ARG_ENABLE([simd],[AC_HELP_STRING([--enable-simd=SSE|AVX|AVX2|AVX512],[Select instructions])],[ac_SIMD=${enable_simd}],[ac_SIMD=AVX2])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
case ${ac_SIMD} in
 | 
					case ${ac_SIMD} in
 | 
				
			||||||
     SSE2)
 | 
					     SSE4)
 | 
				
			||||||
       echo Configuring for SSE2
 | 
					       echo Configuring for SSE4
 | 
				
			||||||
       AC_DEFINE([SSE2],[1],[SSE2] )
 | 
					       AC_DEFINE([SSE4],[1],[SSE4] )
 | 
				
			||||||
     ;;
 | 
					     ;;
 | 
				
			||||||
     AVX)
 | 
					     AVX)
 | 
				
			||||||
       echo Configuring for AVX
 | 
					       echo Configuring for AVX
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user