Searched refs:platform_fns (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/c/experimental/stream_executor/ |
D | stream_executor.cc | 100 port::Status ValidateSPPlatformFns(const SP_PlatformFns& platform_fns) { in ValidateSPPlatformFns() argument 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 …]
|
D | stream_executor_test.cc | 191 SP_PlatformFns* platform_fns) { in PopulateDefaultPlatform() argument 196 platform_fns->create_device = create_device; in PopulateDefaultPlatform() 197 platform_fns->destroy_device = destroy_device; in PopulateDefaultPlatform() 198 platform_fns->create_device_fns = create_device_fns; in PopulateDefaultPlatform() 199 platform_fns->destroy_device_fns = destroy_device_fns; in PopulateDefaultPlatform() 200 platform_fns->create_stream_executor = create_stream_executor; in PopulateDefaultPlatform() 201 platform_fns->destroy_stream_executor = destroy_stream_executor; in PopulateDefaultPlatform() 202 platform_fns->create_timer_fns = create_timer_fns; in PopulateDefaultPlatform() 203 platform_fns->destroy_timer_fns = destroy_timer_fns; in PopulateDefaultPlatform() 207 void destroy_platform_fns(SP_PlatformFns* const platform_fns) {} in destroy_platform_fns() argument [all …]
|
D | stream_executor.h | 495 SP_PlatformFns* platform_fns; // output, set by plugin member 500 SP_PlatformFns* platform_fns); // out, set by plugin
|
D | stream_executor_internal.h | 52 SP_PlatformFns platform_fns,
|