Commit d50b3ccc authored by Giovanni Lacopo's avatar Giovanni Lacopo
Browse files

Trying to solve the bug of overwriting stacking data

parent 66b9e12b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,6 +62,6 @@ RCCL_LIB= -L/opt/rocm-5.2.3/rccl/lib
HIP_INCL= -I/opt/rocm-5.2.3/hip/include
HIP_LIB= -L/opt/rocm-5.2.3/hip/lib

AMDLIB = $(HIP_INCL) $(HIP_LIB) $(RCCL_INCL) $(RCCL_LIB) -D__HIP_PLATFORM_AMD__ -lamdhip64 -lrccl
AMDLIB = $(HIP_INCL) $(HIP_LIB) $(RCCL_INCL) $(RCCL_LIB) -lamdhip64 -lrccl
###########################################################
+6 −3
Original line number Diff line number Diff line
@@ -55,12 +55,12 @@ OPT += -DPHASE_ON
#OPT += -DPARALLELIO

# Normalize uvw in case it is not done in the binMS
OPT += -DNORMALIZE_UVW
#OPT += -DNORMALIZE_UVW

# Gridding kernel: GAUSS, GAUSS_HI_PRECISION, KAISERBESSEL
#OPT += -DGAUSS_HI_PRECISION
OPT += -DGAUSS_HI_PRECISION

OPT += -DGAUSS
#OPT += -DGAUSS

#OPT += -DKAISERBESSEL

@@ -87,6 +87,9 @@ OPT += -DGAUSS
# use GPU to perform FFT
#OPT += -DCUFFTMP

#support for AMD GPUs
#OPT += __HIP_PLATFORM_AMD__

#perform the debugging in the ring implementation
#OPT += -DDEBUG

+2 −2
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@ void gridding_data()

      double start = CPU_TIME_wt;

      memset( memory, 0, mem:size );
      memset( memory, 0, mem_size );
      
      // select data for this sector
      uint icount = 0;
@@ -187,7 +187,7 @@ void gridding_data()

      double *stacking_target_array;
      if ( size > 1 )
	stacking_target_array; = gridss;
	stacking_target_array = gridss;
      else
	stacking_target_array = grid;