From b312d488cc031a159a25d52b083a15f37766d9e5 Mon Sep 17 00:00:00 2001 From: Emanuele De Rubeis Date: Mon, 15 Jan 2024 13:59:35 +0100 Subject: [PATCH] FULL GPU - FFT cube creation --- init.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.c b/init.c index fada0ee..e0f8f03 100755 --- a/init.c +++ b/init.c @@ -83,7 +83,7 @@ void op_filename() { strcpy(buf, num_buf); strcat(buf, outparam.fftfile); strcpy(out.fftfile, buf); - +#ifdef WRITE_DATA strcpy(buf, num_buf); strcat(buf, outparam.fftfile_writedata1); strcpy(out.fftfile_writedata1, buf); @@ -91,7 +91,7 @@ void op_filename() { strcpy(buf, num_buf); strcat(buf, outparam.fftfile_writedata2); strcpy(out.fftfile_writedata2, buf); - +#endif strcpy(buf, num_buf); strcat(buf, outparam.fftfile2); strcpy(out.fftfile2, buf); @@ -212,6 +212,7 @@ void read_parameter_file(char *fname) { strcpy(outparam.fftfile, buf2); } +#ifdef WRITE_DATA if(strcmp(buf1, "fftfile_writedata1") == 0) { strcpy(outparam.fftfile_writedata1, buf2); @@ -220,6 +221,7 @@ void read_parameter_file(char *fname) { strcpy(outparam.fftfile_writedata2, buf2); } +#endif if(strcmp(buf1, "fftfile2") == 0) { strcpy(outparam.fftfile2, buf2); -- GitLab