Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/c/experimental/stream_executor/
Dstream_executor.cc100 port::Status ValidateSPPlatformFns(const SP_PlatformFns& platform_fns) { in ValidateSPPlatformFns()
101 VALIDATE_STRUCT_SIZE(SP_PlatformFns, platform_fns, in ValidateSPPlatformFns()
103 VALIDATE_MEMBER(SP_PlatformFns, platform_fns, create_device); in ValidateSPPlatformFns()
104 VALIDATE_MEMBER(SP_PlatformFns, platform_fns, destroy_device); in ValidateSPPlatformFns()
105 VALIDATE_MEMBER(SP_PlatformFns, platform_fns, create_stream_executor); in ValidateSPPlatformFns()
106 VALIDATE_MEMBER(SP_PlatformFns, platform_fns, destroy_stream_executor); in ValidateSPPlatformFns()
107 VALIDATE_MEMBER(SP_PlatformFns, platform_fns, create_timer_fns); in ValidateSPPlatformFns()
108 VALIDATE_MEMBER(SP_PlatformFns, platform_fns, destroy_timer_fns); in ValidateSPPlatformFns()
109 VALIDATE_MEMBER(SP_PlatformFns, platform_fns, create_device_fns); in ValidateSPPlatformFns()
110 VALIDATE_MEMBER(SP_PlatformFns, platform_fns, destroy_device_fns); in ValidateSPPlatformFns()
[all …]
Dstream_executor.h442 typedef struct SP_PlatformFns { struct
480 } SP_PlatformFns; argument
483 TF_OFFSET_OF_END(SP_PlatformFns, destroy_timer_fns)
495 SP_PlatformFns* platform_fns; // output, set by plugin
500 SP_PlatformFns* platform_fns); // out, set by plugin
Dstream_executor_internal.h52 SP_PlatformFns platform_fns,
53 void (*destroy_platform_fns)(SP_PlatformFns*),
84 SP_PlatformFns platform_fns_;
85 void (*destroy_platform_fns_)(SP_PlatformFns*);
Dstream_executor_test.cc191 SP_PlatformFns* platform_fns) { in PopulateDefaultPlatform()
207 void destroy_platform_fns(SP_PlatformFns* const platform_fns) {} in destroy_platform_fns()
337 SP_PlatformFns platform_fns_;