- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SP_DeviceFns (0.16 sec)
-
tensorflow/c/experimental/stream_executor/stream_executor_test_util.h
constexpr int kDeviceCount = 2; constexpr char kDeviceName[] = "MY_DEVICE"; constexpr char kDeviceType[] = "GPU"; void PopulateDefaultStreamExecutor(SP_StreamExecutor* se); void PopulateDefaultDeviceFns(SP_DeviceFns* device_fns); void PopulateDefaultTimerFns(SP_TimerFns* timer_fns); void PopulateDefaultPlatform(SP_Platform* platform, SP_PlatformFns* platform_fns);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 17 01:32:30 UTC 2021 - 1.9K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_test_util.cc
se->synchronize_all_activity = SynchronizeAllActivity; se->host_callback = HostCallback; se->mem_zero = MemZero; se->memset = Memset; se->memset32 = Memset32; } void PopulateDefaultDeviceFns(SP_DeviceFns* device_fns) { *device_fns = {SP_DEVICE_FNS_STRUCT_SIZE}; } /*** Functions for creating SP_TimerFns ***/ uint64_t Nanoseconds(SP_Timer timer) { return timer->timer_id; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 21 20:09:00 UTC 2023 - 8.7K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_internal.h
void (*destroy_platform)(SP_Platform*), SP_PlatformFns platform_fns, void (*destroy_platform_fns)(SP_PlatformFns*), SP_DeviceFns device_fns, SP_StreamExecutor stream_executor, SP_TimerFns timer_fns); ~CPlatform() override; Id id() const override { return const_cast<int*>(&plugin_id_value_); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 14 07:39:19 UTC 2024 - 8K bytes - Viewed (0)