Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SE_EventStatus (0.07 sec)

  1. tensorflow/c/experimental/stream_executor/stream_executor.h

    // Potential states for an SP_Event. If `poll_for_status` returns anything aside
    // from kPending or kComplete, an error has occurred; kUnknown is a bad state.
    typedef enum SE_EventStatus {
      SE_EVENT_UNKNOWN,
      SE_EVENT_ERROR,
      SE_EVENT_PENDING,
      SE_EVENT_COMPLETE,
    } SE_EventStatus;
    
    // Memory allocation information.
    // This matches DeviceMemoryBase defined here:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      ASSERT_TRUE(event_created);
      ASSERT_FALSE(event_deleted);
      event.reset();
      ASSERT_TRUE(event_deleted);
    }
    
    TEST_F(StreamExecutorTest, PollForEventStatus) {
      static SE_EventStatus event_status = SE_EVENT_COMPLETE;
      se_.create_event = [](const SP_Device* const device, SP_Event* event,
                            TF_Status* const status) -> void {
        *event = new SP_Event_st(123);
      };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top