Home
last modified time | relevance | path

Searched refs:SP_Platform (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/c/experimental/stream_executor/
Dstream_executor.h415 typedef struct SP_Platform { struct
437 } SP_Platform; argument
440 TF_OFFSET_OF_END(SP_Platform, supports_unified_memory)
448 void (*create_device)(const SP_Platform* platform,
453 void (*destroy_device)(const SP_Platform* platform, SP_Device* device);
456 void (*create_device_fns)(const SP_Platform* platform,
462 void (*destroy_device_fns)(const SP_Platform* platform,
466 void (*create_stream_executor)(const SP_Platform* platform,
471 void (*destroy_stream_executor)(const SP_Platform* platform,
475 void (*create_timer_fns)(const SP_Platform* platform, SP_TimerFns* timer,
[all …]
Dstream_executor_internal.h50 explicit CPlatform(SP_Platform platform,
51 void (*destroy_platform)(SP_Platform*),
82 SP_Platform platform_;
83 void (*destroy_platform_)(SP_Platform*);
Dstream_executor_test.cc159 void create_timer_fns(const SP_Platform* platform, SP_TimerFns* timer_fns, in create_timer_fns()
164 void destroy_timer_fns(const SP_Platform* platform, SP_TimerFns* timer_fns) {} in destroy_timer_fns()
166 void create_stream_executor(const SP_Platform* platform, in create_stream_executor()
172 void destroy_stream_executor(const SP_Platform* platform, in destroy_stream_executor()
175 void create_device(const SP_Platform* platform, SE_CreateDeviceParams* params, in create_device()
180 void destroy_device(const SP_Platform* platform, SP_Device* device) {} in destroy_device()
182 void create_device_fns(const SP_Platform* platform, in create_device_fns()
187 void destroy_device_fns(const SP_Platform* platform, SP_DeviceFns* device_fns) { in destroy_device_fns()
190 void PopulateDefaultPlatform(SP_Platform* platform, in PopulateDefaultPlatform()
206 void destroy_platform(SP_Platform* const platform) {} in destroy_platform()
[all …]
Dstream_executor.cc90 port::Status ValidateSPPlatform(const SP_Platform& platform) { in ValidateSPPlatform()
91 VALIDATE_STRUCT_SIZE(SP_Platform, platform, SP_PLATFORM_STRUCT_SIZE); in ValidateSPPlatform()
92 VALIDATE_MEMBER(SP_Platform, platform, name); in ValidateSPPlatform()
93 VALIDATE_MEMBER(SP_Platform, platform, type); in ValidateSPPlatform()
146 const SP_Platform& platform) { in ValidateSPStreamExecutor()
241 SP_Platform* platform, SP_PlatformFns* platform_fns, in CStreamExecutor()
665 SP_Platform* platform_;
673 CPlatform::CPlatform(SP_Platform platform, in CPlatform()
674 void (*destroy_platform)(SP_Platform*), in CPlatform() argument
762 SP_Platform platform{SP_PLATFORM_STRUCT_SIZE}; in InitStreamExecutorPlugin()