# HG changeset patch # User Tatsuki IHA # Date 1460306663 -32400 # Node ID 828ab677c8efb901724fc153e1e66977e7840c6a # Parent 6402a33250a6d7ff6a9aa1d6dcc1725bc637f807 Add dependency data to task DS diff -r 6402a33250a6 -r 828ab677c8ef src/parallel_execution/CMakeLists.txt --- a/src/parallel_execution/CMakeLists.txt Wed Mar 02 21:19:01 2016 +0900 +++ b/src/parallel_execution/CMakeLists.txt Mon Apr 11 01:44:23 2016 +0900 @@ -3,7 +3,7 @@ # -DUSE_CUDA add_definitions("-Wall -g -O0") -set(CMAKE_C_COMPILER cbclang) +set(CMAKE_C_COMPILER clang) add_executable(twice main.c diff -r 6402a33250a6 -r 828ab677c8ef src/parallel_execution/context.h --- a/src/parallel_execution/context.h Wed Mar 02 21:19:01 2016 +0900 +++ b/src/parallel_execution/context.h Mon Apr 11 01:44:23 2016 +0900 @@ -128,6 +128,8 @@ struct Task { enum Code code; int key; + struct Queue* wait_me; + struct Queue* wait_i; } task; struct Queue { struct Element* first;