Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SP_Stream_st (0.1 sec)

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

    #define 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 {
    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 {
        *stream = new SP_Stream_st(14);
        stream_created = true;
      };
      se_.destroy_stream = [](const SP_Device* const device,
                              SP_Stream stream) -> void {
        auto custom_stream = static_cast<SP_Stream_st*>(stream);
        ASSERT_EQ(custom_stream->stream_id, 14);
        delete custom_stream;
        stream_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

    //     params->platform_fns->destroy_device = destroy_device;
    //     ...
    //   }
    
    #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.
    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