From 93de274a9936187371e57f69fba37a5228aa53ef Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Tue, 7 Jan 2020 13:45:00 +0100
Subject: [PATCH] Fix the workspace size

---
 runtime/starpu/control/runtime_options.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtime/starpu/control/runtime_options.c b/runtime/starpu/control/runtime_options.c
index 32dce7c5b..58675030a 100644
--- a/runtime/starpu/control/runtime_options.c
+++ b/runtime/starpu/control/runtime_options.c
@@ -57,7 +57,7 @@ int RUNTIME_options_ws_alloc( RUNTIME_option_t *options, size_t worker_size, siz
         };
         options->ws_wsize = worker_size;
         starpu_cham_tile_register( (starpu_data_handle_t*)(&(options->ws_worker)),
-                                   -1, &tile, sizeof(char) );
+                                   -1, &tile, ChamByte );
     }
     if ( host_size > 0 ) {
         options->ws_hsize = host_size;
-- 
GitLab