Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SP_Event_st (0.08 sec)

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

    #include "tensorflow/c/experimental/stream_executor/stream_executor.h"
    
    struct SP_Stream_st {
      explicit SP_Stream_st(int id) : stream_id(id) {}
      int stream_id;
    };
    
    struct SP_Event_st {
      explicit SP_Event_st(int id) : event_id(id) {}
      int event_id;
    };
    
    struct SP_Timer_st {
      explicit SP_Timer_st(int id) : timer_id(id) {}
      int timer_id;
    };
    
    namespace stream_executor {
    namespace test_util {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 17 01:32:30 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

                            TF_Status* const status) -> void {
        *event = new SP_Event_st(123);
        event_created = true;
      };
      se_.destroy_event = [](const SP_Device* const device,
                             SP_Event event) -> void {
        auto custom_event = static_cast<SP_Event_st*>(event);
        ASSERT_EQ(custom_event->event_id, 123);
        delete custom_event;
        event_deleted = true;
      };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/stream_executor/stream_executor.h

    //     ...
    //   }
    
    #define SE_MAJOR 0
    #define SE_MINOR 0
    #define SE_PATCH 1
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    typedef struct SP_Stream_st* SP_Stream;
    typedef struct SP_Event_st* SP_Event;
    typedef struct SP_Timer_st* SP_Timer;
    // Takes `callback_arg` passed to `host_callback` as the first argument.
    typedef void (*SE_StatusCallbackFn)(void* const, TF_Status* const);
    
    typedef struct SP_TimerFns {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
Back to top