Add dependency data to task DS
author |
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
date |
Mon, 11 Apr 2016 01:44:23 +0900 |
parents |
6402a33250a6 |
children |
67f68f9c04b6 |
files |
src/parallel_execution/CMakeLists.txt src/parallel_execution/context.h |
diffstat |
2 files changed, 3 insertions(+), 1 deletions(-)
[+]
|
line diff
--- 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
--- 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;