Home
last modified time | relevance | path

Searched refs:event_ (Results 1 – 25 of 131) sorted by relevance

123456

/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_event.cc25 auto ret = rtEventCreate(&event_); in AscendEvent()
28 event_ = nullptr; in AscendEvent()
33 auto ret = rtEventCreateWithFlag(&event_, RT_EVENT_TIME_LINE); in AscendTimeEvent()
36 event_ = nullptr; in AscendTimeEvent()
41 auto ret = rtEventDestroy(event_); in ~AscendEvent()
48 MS_EXCEPTION_IF_NULL(event_); in RecordEvent()
50 auto ret = rtEventRecord(event_, record_stream_); in RecordEvent()
58 MS_EXCEPTION_IF_NULL(event_); in WaitEvent()
60 auto ret = rtStreamWaitEvent(wait_stream_, event_); in WaitEvent()
64 ret = rtEventReset(event_, wait_stream_); in WaitEvent()
[all …]
/third_party/boost/boost/compute/
Dcommand_queue.hpp308 event event_; in enqueue_read_buffer() local
319 &event_.get() in enqueue_read_buffer()
326 return event_; in enqueue_read_buffer()
346 event event_; in enqueue_read_buffer_async() local
357 &event_.get() in enqueue_read_buffer_async()
364 return event_; in enqueue_read_buffer_async()
389 event event_; in enqueue_read_buffer_rect() local
405 &event_.get() in enqueue_read_buffer_rect()
412 return event_; in enqueue_read_buffer_rect()
436 event event_; in enqueue_read_buffer_rect_async() local
[all …]
/third_party/boost/libs/compute/include/boost/compute/
Dcommand_queue.hpp308 event event_; in enqueue_read_buffer() local
319 &event_.get() in enqueue_read_buffer()
326 return event_; in enqueue_read_buffer()
346 event event_; in enqueue_read_buffer_async() local
357 &event_.get() in enqueue_read_buffer_async()
364 return event_; in enqueue_read_buffer_async()
389 event event_; in enqueue_read_buffer_rect() local
405 &event_.get() in enqueue_read_buffer_rect()
412 return event_; in enqueue_read_buffer_rect()
436 event event_; in enqueue_read_buffer_rect_async() local
[all …]
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_event.cc22 auto ret = cudaEventCreate(&event_); in GpuEvent()
25 event_ = nullptr; in GpuEvent()
29 GpuEvent::~GpuEvent() { CHECK_CUDA_RET_WITH_ERROR_NOTRACE(cudaEventDestroy(event_), "cudaEventDesto… in ~GpuEvent()
33 MS_EXCEPTION_IF_NULL(event_); in WaitEvent()
34 …CHECK_CUDA_RET_WITH_EXCEPT_NOTRACE(cudaStreamWaitEvent(wait_stream_, event_, 0), "cudaStreamWaitEv… in WaitEvent()
39 MS_EXCEPTION_IF_NULL(event_); in RecordEvent()
41 …CHECK_CUDA_RET_WITH_EXCEPT_NOTRACE(cudaEventRecord(event_, record_stream_), "cudaEventRecord faile… in RecordEvent()
46 MS_EXCEPTION_IF_NULL(event_); in SyncEvent()
47 CHECK_CUDA_RET_WITH_EXCEPT_NOTRACE(cudaEventSynchronize(event_), "cudaEventSynchronize failed"); in SyncEvent()
51 MS_EXCEPTION_IF_NULL(event_); in ElapsedTime()
[all …]
Dblocking_queue.cc61 node_info_[tail_].event_.reset(new cudaEvent_t()); in Push()
62 …CHECK_CUDA_RET_WITH_ERROR(cudaEventCreate(&(*(node_info_[tail_].event_))), "Cuda Create Event Fail… in Push()
63 …CHECK_CUDA_RET_WITH_ERROR(cudaEventRecord(*(node_info_[tail_].event_), stream_), "Cuda Create Even… in Push()
71 …CHECK_CUDA_RET_WITH_ERROR(cudaEventSynchronize(*(node_info_[head_].event_)), "Cuda Event Syn Faile… in Front()
72 …CHECK_CUDA_RET_WITH_ERROR(cudaEventDestroy(*(node_info_[head_].event_)), "Cuda Destroy Event Faile… in Front()
/third_party/boost/boost/asio/detail/
Dconditionally_enabled_event.hpp50 event_.signal(lock); in signal()
57 event_.signal_all(lock); in signal_all()
65 event_.unlock_and_signal_one(lock); in unlock_and_signal_one()
73 event_.unlock_and_signal_one(lock); in unlock_and_signal_one_for_destruction()
81 return event_.maybe_unlock_and_signal_one(lock); in maybe_unlock_and_signal_one()
90 event_.clear(lock); in clear()
97 event_.wait(lock); in wait()
107 return event_.wait_for_usec(lock, usec); in wait_for_usec()
113 boost::asio::detail::event event_; member in boost::asio::detail::conditionally_enabled_event
Dblocking_executor_op.hpp45 event_.wait(lock); in wait()
55 op_->event_.unlock_and_signal_one_for_destruction(lock); in ~do_complete_cleanup()
63 boost::asio::detail::event event_; member in boost::asio::detail::blocking_executor_op_base
/third_party/boost/libs/asio/include/boost/asio/detail/
Dconditionally_enabled_event.hpp50 event_.signal(lock); in signal()
57 event_.signal_all(lock); in signal_all()
65 event_.unlock_and_signal_one(lock); in unlock_and_signal_one()
73 event_.unlock_and_signal_one(lock); in unlock_and_signal_one_for_destruction()
81 return event_.maybe_unlock_and_signal_one(lock); in maybe_unlock_and_signal_one()
90 event_.clear(lock); in clear()
97 event_.wait(lock); in wait()
107 return event_.wait_for_usec(lock, usec); in wait_for_usec()
113 boost::asio::detail::event event_; member in boost::asio::detail::conditionally_enabled_event
Dblocking_executor_op.hpp45 event_.wait(lock); in wait()
55 op_->event_.unlock_and_signal_one_for_destruction(lock); in ~do_complete_cleanup()
63 boost::asio::detail::event event_; member in boost::asio::detail::blocking_executor_op_base
/third_party/cef/libcef/common/
Dwaitable_event_impl.cc33 : event_(automatic_reset ? base::WaitableEvent::ResetPolicy::AUTOMATIC in CefWaitableEventImpl()
40 event_.Reset(); in Reset()
44 event_.Signal(); in Signal()
48 return event_.IsSignaled(); in IsSignaled()
54 event_.Wait(); in Wait()
60 return event_.TimedWait(base::Milliseconds(max_ms)); in TimedWait()
/third_party/mindspore/mindspore/ccsrc/ps/ps_cache/gpu/
Dgpu_ps_cache.cc45 event_.reset(new cudaEvent_t()); in RecordEvent()
46 MS_ERROR_IF_NULL_W_RET_VAL(event_, false); in RecordEvent()
47 CHECK_CUDA_RET_WITH_RETURN_ERROR_NOTRACE(cudaEventCreate(&(*event_)), "Cuda create event failed"); in RecordEvent()
48 …CHECK_CUDA_RET_WITH_RETURN_ERROR_NOTRACE(cudaEventRecord(*event_, reinterpret_cast<cudaStream_t>(s… in RecordEvent()
54 MS_ERROR_IF_NULL_W_RET_VAL(event_, false); in SynchronizeEvent()
55 CHECK_CUDA_RET_WITH_RETURN_ERROR_NOTRACE(cudaEventSynchronize(*event_), "Cuda sync event failed"); in SynchronizeEvent()
56 CHECK_CUDA_RET_WITH_RETURN_ERROR_NOTRACE(cudaEventDestroy(*event_), "Cuda destroy event failed"); in SynchronizeEvent()
/third_party/boost/boost/compute/interop/opengl/
Dacquire.hpp33 event event_; in opengl_enqueue_acquire_gl_objects() local
40 &event_.get()); in opengl_enqueue_acquire_gl_objects()
45 return event_; in opengl_enqueue_acquire_gl_objects()
58 event event_; in opengl_enqueue_release_gl_objects() local
65 &event_.get()); in opengl_enqueue_release_gl_objects()
70 return event_; in opengl_enqueue_release_gl_objects()
/third_party/boost/libs/compute/include/boost/compute/interop/opengl/
Dacquire.hpp33 event event_; in opengl_enqueue_acquire_gl_objects() local
40 &event_.get()); in opengl_enqueue_acquire_gl_objects()
45 return event_; in opengl_enqueue_acquire_gl_objects()
58 event event_; in opengl_enqueue_release_gl_objects() local
65 &event_.get()); in opengl_enqueue_release_gl_objects()
70 return event_; in opengl_enqueue_release_gl_objects()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/ge_runtime/task/
Devent_wait_task.cc26 event_(nullptr) { in EventWaitTask()
37 event_ = event_list[event_id]; in EventWaitTask()
43 MS_LOG(INFO) << "EventWaitTask Distribute start, stream: " << stream_ << ", event: " << event_ in Distribute()
46 rtError_t rt_ret = rtStreamWaitEvent(stream_, event_); in Distribute()
51 rt_ret = rtEventReset(event_, stream_); in Distribute()
Devent_record_task.cc27 event_(nullptr) { in EventRecordTask()
38 event_ = event_list[event_id]; in EventRecordTask()
44 MS_LOG(INFO) << "EventRecordTask Distribute start, stream: " << stream_ << ", event: " << event_ in Distribute()
46 rtError_t rt_ret = rtEventRecord(event_, stream_); in Distribute()
/third_party/boost/libs/msm/doc/PDF/examples/
DCompilerStressTestEuml.cpp186 … append_(event_(m_song),fsm_(m_var7)) ),//foo_(event_,Int_<0>()) , in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
193 …BOOST_MSM_EUML_STATE(( if_then_else_( (string_find_(event_(m_song),state_(m_letters),Size_t_<0>())… in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
194 … string_find_(event_(m_song),Char_<'S'>(),Size_t_<0>()) != Npos_<string>()&& in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
195 … string_find_first_of_(event_(m_song),Char_<'S'>()) == Size_t_<0>() && in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
196 … string_compare_(event_(m_song),Int_<0>(),size_(event_(m_song)),event_(m_song)) == Int_<0>() in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
209 … substr_(event_(m_song),Size_t_<1>()), in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
215 event_(m_song) ), in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
221 process2_(NotFound,event_(m_song),fsm_) ) , in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
DSimpleTimer.cpp93 Started == Stopped + start_timer /(target_(m_counter)= event_(m_timer)) ,
99 / if_then_( (source_(m_counter) -= event_(m_tick) ) <= Int_<0>(),
108 Ringing + tick [ source_(m_ringing_cpt) - event_(m_tick) > Int_<0>() ]
109 … /(target_(m_ringing_cpt) -= event_(m_tick) ) ,
111 Stopped == Ringing + tick[source_(m_ringing_cpt)-event_(m_tick) <= Int_<0>()] ,
DiPodSearchEuml.cpp71 BOOST_MSM_EUML_STATE(( (push_back_(fsm_(m_tgt_container),event_(m_song)) in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
75 …BOOST_MSM_EUML_STATE(( if_then_else_( string_find_(event_(m_song),state_(m_letters)) != Npos_<stri… in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
76 process2_(Found,event_(m_song)), in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
77 process2_(NotFound,event_(m_song)) ) , in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
/third_party/boost/libs/msm/doc/HTML/examples/
DCompilerStressTestEuml.cpp186 … append_(event_(m_song),fsm_(m_var7)) ),//foo_(event_,Int_<0>()) , in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
193 …BOOST_MSM_EUML_STATE(( if_then_else_( (string_find_(event_(m_song),state_(m_letters),Size_t_<0>())… in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
194 … string_find_(event_(m_song),Char_<'S'>(),Size_t_<0>()) != Npos_<string>()&& in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
195 … string_find_first_of_(event_(m_song),Char_<'S'>()) == Size_t_<0>() && in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
196 … string_compare_(event_(m_song),Int_<0>(),size_(event_(m_song)),event_(m_song)) == Int_<0>() in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
209 … substr_(event_(m_song),Size_t_<1>()), in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
215 event_(m_song) ), in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
221 process2_(NotFound,event_(m_song),fsm_) ) , in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
DSimpleTimer.cpp93 Started == Stopped + start_timer /(target_(m_counter)= event_(m_timer)) ,
99 / if_then_( (source_(m_counter) -= event_(m_tick) ) <= Int_<0>(),
108 Ringing + tick [ source_(m_ringing_cpt) - event_(m_tick) > Int_<0>() ]
109 … /(target_(m_ringing_cpt) -= event_(m_tick) ) ,
111 Stopped == Ringing + tick[source_(m_ringing_cpt)-event_(m_tick) <= Int_<0>()] ,
DiPodSearchEuml.cpp71 BOOST_MSM_EUML_STATE(( (push_back_(fsm_(m_tgt_container),event_(m_song)) in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
75 …BOOST_MSM_EUML_STATE(( if_then_else_( string_find_(event_(m_song),state_(m_letters)) != Npos_<stri… in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
76 process2_(Found,event_(m_song)), in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
77 process2_(NotFound,event_(m_song)) ) , in BOOST_MSM_EUML_DECLARE_ATTRIBUTE()
/third_party/boost/libs/asio/include/boost/asio/detail/impl/
Dwinrt_timer_scheduler.ipp35 event_(),
55 event_.signal(lock);
85 event_.wait_for_usec(lock, wait_duration);
86 event_.clear(lock);
/third_party/boost/boost/asio/detail/impl/
Dwinrt_timer_scheduler.ipp35 event_(),
55 event_.signal(lock);
85 event_.wait_for_usec(lock, wait_duration);
86 event_.clear(lock);
/third_party/mindspore/mindspore/core/ir/
Dtensor.h325 auto event = event_; in SetNeedWait()
329 event_ = std::make_shared<WaitEvent>(); in SetNeedWait()
330 event_->set_need_wait(need_wait); in SetNeedWait()
337 auto event = event_; in Wait()
341 event_ = nullptr; in Wait()
378 mutable std::shared_ptr<WaitEvent> event_{nullptr};
/third_party/mindspore/mindspore/ccsrc/ps/ps_cache/ascend/
Dascend_ps_cache.cc150 event_.reset(new rtEvent_t()); in RecordEvent()
151 MS_ERROR_IF_NULL_W_RET_VAL(event_, false); in RecordEvent()
152 auto ret = rtEventCreate(&(*event_)); in RecordEvent()
157 ret = rtEventRecord(*event_, stream_); in RecordEvent()
166 MS_ERROR_IF_NULL_W_RET_VAL(event_, false); in SynchronizeEvent()
167 auto ret = rtEventSynchronize(*event_); in SynchronizeEvent()
172 ret = rtEventDestroy(*event_); in SynchronizeEvent()

123456