瀏覽代碼

Keep this function public

Cédric Augonnet 15 年之前
父節點
當前提交
13dd236182
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 4 0
      include/starpu-util.h
  2. 0 1
      src/drivers/cuda/driver_cuda.h

+ 4 - 0
include/starpu-util.h

@@ -228,6 +228,10 @@ void starpu_execute_on_each_worker(void (*func)(void *), void *arg, uint32_t whe
 void starpu_create_sync_task(starpu_tag_t sync_tag, unsigned ndeps, starpu_tag_t *deps,
 				void (*callback)(void *), void *callback_arg);
 
+#ifdef USE_CUDA
+cudaStream_t *starpu_get_local_cuda_stream(void);
+#endif
+
 #ifdef __cplusplus
 }
 #endif

+ 0 - 1
src/drivers/cuda/driver_cuda.h

@@ -46,7 +46,6 @@ unsigned get_cuda_device_count(void);
 #ifdef USE_CUDA
 void _starpu_init_cuda(void);
 void *_starpu_cuda_worker(void *);
-cudaStream_t *starpu_get_local_cuda_stream(void);
 #endif
 
 #endif //  __DRIVER_CUDA_H__