Home
last modified time | relevance | path

Searched refs:cb_id (Results 1 – 7 of 7) sorted by relevance

/third_party/mindspore/tests/ut/python/dataset/
Dtest_callbacks.py33 def __init__(self, step_size=1, events=None, cb_id=0): argument
36 self.cb_id = cb_id
48 self.events[index][1].append(self.cb_id)
50 self.events.append((event, [self.cb_id]))
84 cb_id = list(range(map_num))
89 events.append((event, cb_id))
91 events.append(("begin_0_0_0", cb_id))
150 my_cb1 = MyDSCallback(events=events, cb_id=0)
151 my_cb2 = MyDSCallback(events=events, cb_id=1)
429 my_begin = Begin(events=events1, cb_id=1)
[all …]
/third_party/mindspore/mindspore/ccsrc/profiler/device/gpu/
Dgpu_profiling.cc110 bool IsMemcpyAsyncEvent(CUpti_CallbackId cb_id) { in IsMemcpyAsyncEvent() argument
111 switch (cb_id) { in IsMemcpyAsyncEvent()
128 bool IsMemcpySyncEvent(CUpti_CallbackId cb_id) { in IsMemcpySyncEvent() argument
129 switch (cb_id) { in IsMemcpySyncEvent()
150 void CUPTIApiExit(const std::shared_ptr<GPUProfiler> &gpu_profiler_inst, CUpti_CallbackId cb_id, in CUPTIApiExit() argument
154 switch (cb_id) { in CUPTIApiExit()
158 …gpu_profiler_inst->EventHandleProcess(cb_id, cb_data, "cuLaunchKernel", start_timestamp, end_times… in CUPTIApiExit()
162 …gpu_profiler_inst->EventHandleProcess(cb_id, cb_data, "cuMemAlloc", start_timestamp, end_timestamp… in CUPTIApiExit()
174 …gpu_profiler_inst->EventHandleProcess(cb_id, cb_data, "others_api", start_timestamp, end_timestamp… in CUPTIApiExit()
177 if (IsMemcpyAsyncEvent(cb_id) || IsMemcpySyncEvent(cb_id)) { in CUPTIApiExit()
[all …]
Dgpu_profiling.h83 CUpti_CallbackId cb_id; member
/third_party/mesa3d/src/amd/common/
Dac_sqtt.h131 uint32_t cb_id : 20; member
162 uint32_t cb_id : 20; member
306 uint32_t cb_id : 20; member
343 uint32_t cb_id : 20; member
368 uint32_t cb_id : 20; member
471 uint32_t cb_id : 20; member
/third_party/mesa3d/src/amd/vulkan/layers/
Dradv_sqtt_layer.c68 marker.cb_id = 0; in radv_write_event_marker()
96 marker.event.cb_id = 0; in radv_write_event_with_dims_marker()
148 marker.cb_id = 0; in radv_describe_begin_cmd_buffer()
171 marker.cb_id = 0; in radv_describe_end_cmd_buffer()
236 marker.cb_id = 0; in radv_describe_barrier_end_delayed()
291 marker.cb_id = 0; in radv_describe_barrier_start()
339 marker.cb_id = 0; in radv_describe_pipeline_bind()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sqtt.c787 marker.cb_id = 0; in si_sqtt_write_event_marker()
817 marker.event.cb_id = 0; in si_write_event_with_dims_marker()
834 marker.cb_id = 0; in si_sqtt_describe_barrier_start()
847 marker.cb_id = 0; in si_sqtt_describe_barrier_end()
1064 marker.cb_id = 0; in si_sqtt_describe_pipeline_bind()
/third_party/openssl/ssl/
Dssl_local.h470 long (*ssl_callback_ctrl) (SSL *s, int cb_id, void (*fp) (void));
471 long (*ssl_ctx_callback_ctrl) (SSL_CTX *s, int cb_id, void (*fp) (void));