Searched refs:backend_options (Results 1 – 6 of 6) sorted by relevance
103 BackendOptions backend_options; in CreateDefaultBackend() local104 backend_options.set_platform(platform); in CreateDefaultBackend()105 return CreateBackend(backend_options); in CreateDefaultBackend()
55 BackendOptions backend_options; in NewService() local56 backend_options.set_platform(platform) in NewService()61 Backend::CreateBackend(backend_options)); in NewService()
38 BackendOptions backend_options; in HloRunner() local39 backend_options.set_platform(platform); in HloRunner()40 backend_options.set_intra_op_parallelism_threads( in HloRunner()42 backend_ = Backend::CreateBackend(backend_options).ConsumeValueOrDie(); in HloRunner()
148 BackendOptions backend_options; in NewService() local149 backend_options.set_platform(platform); in NewService()150 backend_options.set_allowed_devices(options.allowed_devices()); in NewService()151 TF_ASSIGN_OR_RETURN(execute_backend, Backend::CreateBackend(backend_options)); in NewService()
79 BackendOptions backend_options; in SetUp() local80 backend_options.set_platform(platform); in SetUp()82 Backend::CreateBackend(backend_options); in SetUp()
121 xla::BackendOptions backend_options; in ConvertModule() local122 backend_options.set_platform(platform.ValueOrDie()); in ConvertModule()123 auto backend_or_err = xla::Backend::CreateBackend(backend_options); in ConvertModule()