mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-03 21:44:33 +00:00 
			
		
		
		
	spin trace type work
This commit is contained in:
		@@ -72,8 +72,8 @@
 | 
			
		||||
/* Define to the version of this package. */
 | 
			
		||||
#undef PACKAGE_VERSION
 | 
			
		||||
 | 
			
		||||
/* SSE2 */
 | 
			
		||||
#undef SSE2
 | 
			
		||||
/* SSE4 */
 | 
			
		||||
#undef SSE4
 | 
			
		||||
 | 
			
		||||
/* Define to 1 if you have the ANSI C header files. */
 | 
			
		||||
#undef STDC_HEADERS
 | 
			
		||||
 
 | 
			
		||||
@@ -158,7 +158,7 @@ PROGRAMS = $(bin_PROGRAMS)
 | 
			
		||||
am_Grid_main_OBJECTS = Grid_main.$(OBJEXT)
 | 
			
		||||
Grid_main_OBJECTS = $(am_Grid_main_OBJECTS)
 | 
			
		||||
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_DEPENDENCIES = libGrid.a
 | 
			
		||||
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_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
 | 
			
		||||
all: Grid_config.h
 | 
			
		||||
	$(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_main.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:
 | 
			
		||||
@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      
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
BUILD:
 | 
			
		||||
* Test infrastructure
 | 
			
		||||
* subdirs lib, tests ??
 | 
			
		||||
 | 
			
		||||
FUNCTIONALITY:
 | 
			
		||||
 | 
			
		||||
* Conditional execution, where etc...                -----DONE, simple test
 | 
			
		||||
 | 
			
		||||
* Integer relational support                         -----DONE
 | 
			
		||||
 | 
			
		||||
* Coordinate information, integers etc...            -----DONE
 | 
			
		||||
 | 
			
		||||
* Integer type padding/union to vector.              -----DONE 
 | 
			
		||||
 | 
			
		||||
* LatticeCoordinate[mu]                              -----DONE
 | 
			
		||||
 | 
			
		||||
* Stencil operator support                           -----Initial thoughts, trial implementation DONE.
 | 
			
		||||
                                                     -----some simple tests that Stencil matches Cshift.
 | 
			
		||||
                                                     -----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?)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
POST-SFW call:
 | 
			
		||||
 | 
			
		||||
* TraceColor, TraceSpin.
 | 
			
		||||
* How to define simple matrix operations, such as flavour matrices?
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
* Subset support, slice sums etc...                  -----Only need slice sum?
 | 
			
		||||
                                                     -----Generic cartesian subslicing?
 | 
			
		||||
                                                     -----Array ranges / boost extents?
 | 
			
		||||
@@ -34,7 +38,6 @@ FUNCTIONALITY:
 | 
			
		||||
                                                     -----Suggests generalised cartesian subblocking
 | 
			
		||||
                                                          sums, returning modified grid?
 | 
			
		||||
					             -----What should interface be?
 | 
			
		||||
 | 
			
		||||
i)  Two classes of subset;   red black parity subsetting (pick checkerboard).
 | 
			
		||||
                             cartesian sub-block subsetting
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										6
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								configure
									
									
									
									
										vendored
									
									
								
							@@ -5009,10 +5009,10 @@ fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
case ${ac_SIMD} in
 | 
			
		||||
     SSE2)
 | 
			
		||||
       echo Configuring for SSE2
 | 
			
		||||
     SSE4)
 | 
			
		||||
       echo Configuring for SSE4
 | 
			
		||||
 | 
			
		||||
$as_echo "#define SSE2 1" >>confdefs.h
 | 
			
		||||
$as_echo "#define SSE4 1" >>confdefs.h
 | 
			
		||||
 | 
			
		||||
     ;;
 | 
			
		||||
     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])
 | 
			
		||||
 | 
			
		||||
case ${ac_SIMD} in
 | 
			
		||||
     SSE2)
 | 
			
		||||
       echo Configuring for SSE2
 | 
			
		||||
       AC_DEFINE([SSE2],[1],[SSE2] )
 | 
			
		||||
     SSE4)
 | 
			
		||||
       echo Configuring for SSE4
 | 
			
		||||
       AC_DEFINE([SSE4],[1],[SSE4] )
 | 
			
		||||
     ;;
 | 
			
		||||
     AVX)
 | 
			
		||||
       echo Configuring for AVX
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user