|
@@ -142,17 +142,17 @@ struct starpu_machine_config_s {
|
|
|
|
|
|
unsigned _starpu_machine_is_running(void);
|
|
unsigned _starpu_machine_is_running(void);
|
|
|
|
|
|
-inline uint32_t _starpu_worker_exists(uint32_t task_mask);
|
|
|
|
-inline uint32_t _starpu_may_submit_cuda_task(void);
|
|
|
|
-inline uint32_t _starpu_may_submit_cpu_task(void);
|
|
|
|
-inline uint32_t _starpu_may_submit_opencl_task(void);
|
|
|
|
-inline uint32_t _starpu_worker_may_execute_task(unsigned workerid, uint32_t where);
|
|
|
|
|
|
+uint32_t _starpu_worker_exists(uint32_t task_mask);
|
|
|
|
+uint32_t _starpu_may_submit_cuda_task(void);
|
|
|
|
+uint32_t _starpu_may_submit_cpu_task(void);
|
|
|
|
+uint32_t _starpu_may_submit_opencl_task(void);
|
|
|
|
+uint32_t _starpu_worker_may_execute_task(unsigned workerid, uint32_t where);
|
|
unsigned _starpu_worker_can_block(unsigned memnode);
|
|
unsigned _starpu_worker_can_block(unsigned memnode);
|
|
void _starpu_block_worker(int workerid, pthread_cond_t *cond, pthread_mutex_t *mutex);
|
|
void _starpu_block_worker(int workerid, pthread_cond_t *cond, pthread_mutex_t *mutex);
|
|
|
|
|
|
-inline void _starpu_lock_all_queues_attached_to_node(unsigned node);
|
|
|
|
-inline void _starpu_unlock_all_queues_attached_to_node(unsigned node);
|
|
|
|
-inline void _starpu_broadcast_all_queues_attached_to_node(unsigned node);
|
|
|
|
|
|
+void _starpu_lock_all_queues_attached_to_node(unsigned node);
|
|
|
|
+void _starpu_unlock_all_queues_attached_to_node(unsigned node);
|
|
|
|
+void _starpu_broadcast_all_queues_attached_to_node(unsigned node);
|
|
|
|
|
|
void _starpu_set_local_worker_key(struct starpu_worker_s *worker);
|
|
void _starpu_set_local_worker_key(struct starpu_worker_s *worker);
|
|
struct starpu_worker_s *_starpu_get_local_worker_key(void);
|
|
struct starpu_worker_s *_starpu_get_local_worker_key(void);
|