From a49db00f0158fed9c3dd44cee63dd8d8d711c71e Mon Sep 17 00:00:00 2001
From: Orestis <orestis.malaspinas@pm.me>
Date: Mon, 5 Jul 2021 08:44:27 +0200
Subject: [PATCH] added flattening

---
 presentations/pasc/code/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/presentations/pasc/code/Makefile b/presentations/pasc/code/Makefile
index cc6e332..7e05b47 100644
--- a/presentations/pasc/code/Makefile
+++ b/presentations/pasc/code/Makefile
@@ -1,4 +1,4 @@
-TARGET=c
+TARGET=opencl
 
 ifeq ($(TARGET),cuda)
 	CUDALIBS=-lcudart -lcuda -lnvrtc
@@ -7,7 +7,7 @@ else ifeq ($(TARGET), opencl)
 endif
 
 CC=gcc
-FC=futhark
+FC=INCREMENTAL_FLATTENING=1 futhark
 OPTS=-Wall -Wextra -g -std=gnu11
 SANITIZERS=-fsanitize=address
 OPTIM=-O3
-- 
GitLab