/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/ |
D | ascend_event.cc | 25 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/ |
D | command_queue.hpp | 308 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/ |
D | command_queue.hpp | 308 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/ |
D | gpu_event.cc | 22 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 …]
|
D | blocking_queue.cc | 61 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/ |
D | conditionally_enabled_event.hpp | 50 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
|
D | blocking_executor_op.hpp | 45 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/ |
D | conditionally_enabled_event.hpp | 50 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
|
D | blocking_executor_op.hpp | 45 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/ |
D | waitable_event_impl.cc | 33 : 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/ |
D | gpu_ps_cache.cc | 45 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/ |
D | acquire.hpp | 33 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/ |
D | acquire.hpp | 33 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/ |
D | event_wait_task.cc | 26 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()
|
D | event_record_task.cc | 27 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/ |
D | CompilerStressTestEuml.cpp | 186 … 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()
|
D | SimpleTimer.cpp | 93 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>()] ,
|
D | iPodSearchEuml.cpp | 71 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/ |
D | CompilerStressTestEuml.cpp | 186 … 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()
|
D | SimpleTimer.cpp | 93 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>()] ,
|
D | iPodSearchEuml.cpp | 71 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/ |
D | winrt_timer_scheduler.ipp | 35 event_(), 55 event_.signal(lock); 85 event_.wait_for_usec(lock, wait_duration); 86 event_.clear(lock);
|
/third_party/boost/boost/asio/detail/impl/ |
D | winrt_timer_scheduler.ipp | 35 event_(), 55 event_.signal(lock); 85 event_.wait_for_usec(lock, wait_duration); 86 event_.clear(lock);
|
/third_party/mindspore/mindspore/core/ir/ |
D | tensor.h | 325 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/ |
D | ascend_ps_cache.cc | 150 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()
|