- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SP_DeviceFns (0.3 sec)
-
tensorflow/c/experimental/stream_executor/stream_executor.cc
// All other fields could theoretically be zero/null. return absl::OkStatus(); } absl::Status ValidateSPDeviceFns(const SP_DeviceFns& device_fns) { TF_VALIDATE_STRUCT_SIZE(SP_DeviceFns, device_fns, SP_DEVICE_FNS_STRUCT_SIZE); // All other fields could theoretically be zero/null. return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 14 07:39:19 UTC 2024 - 27.1K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor.h
// Negative values are treated as "unset". double (*get_gflops)(const SP_Device* device); } SP_DeviceFns; #define SP_DEVICE_FNS_STRUCT_SIZE TF_OFFSET_OF_END(SP_DeviceFns, get_gflops) typedef struct SE_CreateDeviceFnsParams { size_t struct_size; void* ext; // reserved for future use SP_DeviceFns* device_fns; // output, to be filled by plugin } SE_CreateDeviceFnsParams;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 24 08:40:35 UTC 2022 - 21.6K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_test.cc
cplatform_->ExecutorForDevice(ordinal); TF_CHECK_OK(maybe_executor.status()); return std::move(maybe_executor).value(); } SP_Platform platform_; SP_PlatformFns platform_fns_; SP_DeviceFns device_fns_; SP_StreamExecutor se_; SP_TimerFns timer_fns_; std::unique_ptr<CPlatform> cplatform_; }; TEST_F(StreamExecutorTest, Allocate) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 19:54:04 UTC 2024 - 26.5K bytes - Viewed (0)