taskIndex_x,y,z are passed to the task

This commit is contained in:
egaburov
2013-10-23 08:39:17 +02:00
parent 78a05777bc
commit ade8751442
2 changed files with 6 additions and 4 deletions

View File

@@ -1,11 +1,11 @@
TASK_CXX=../tasksys.cpp
TASK_CXX=../tasksys3d.cpp
TASK_LIB=-lpthread
TASK_OBJ=objs/tasksys.o
TASK_OBJ=objs/tasksys3d.o
CXX=clang++
CXX=g++ -fopenmp
CXXFLAGS+=-Iobjs/ -O2
CC=clang
CC=gcc -fopenmp
CCFLAGS+=-Iobjs/ -O2
LIBS=-lm $(TASK_LIB) -lstdc++

View File

@@ -59,7 +59,9 @@
#define ISPC_USE_PTHREADS
#define ISPC_USE_PTHREADS_FULLY_SUBSCRIBED
#define ISPC_USE_CILK
*/
#define ISPC_USE_OMP
/*
#define ISPC_USE_TBB_TASK_GROUP
#define ISPC_USE_TBB_PARALLEL_FOR