Lines Matching defs:CALLBACK
136 (hsa_status_t (*callback)(hsa_agent_t agent, void *data), void *data);
142 void (*callback)(hsa_status_t status, hsa_queue_t *source, void *data),
147 hsa_status_t (*callback)(hsa_region_t region, void *data), void *data);
179 hsa_status_t (*callback)(hsa_executable_t executable,
265 /* A queue entry for a future callback. */
267 struct callback
273 /* A data struct for the copy_data callback. */
304 CALLBACK,
316 struct callback callback;
1364 /* A never-called callback for the HSA command queues. These signal events
1489 /* Callback of hsa_iterate_agents; if AGENT is a GPU device, increment
1500 /* Callback of hsa_iterate_agents; if AGENT is a GPU device, assign the agent
1618 /* Callback of hsa_agent_iterate_regions, via get_*_memory_region functions.
1649 /* Callback of hsa_agent_iterate_regions.
1660 /* Callback of hsa_agent_iterate_regions.
2698 /* Callback of dispatch queues to report errors. */
2719 case CALLBACK:
2721 GCN_DEBUG ("Async thread %d:%d: Executing callback entry (%d)\n",
2723 entry->u.callback.fn (entry->u.callback.data);
2725 GCN_DEBUG ("Async thread %d:%d: Executing callback entry (%d) done\n",
2904 /* Request an asynchronous callback on the specified queue. The callback
2922 aq->queue[queue_last].type = CALLBACK;
2923 aq->queue[queue_last].u.callback.fn = fn;
2924 aq->queue[queue_last].u.callback.data = data;
3094 callback event. */
3108 The event will be registered as a callback. */
4583 /* Add an opaque callback to the given async queue. */