pytorch/torch/csrc/lazy/ts_backend/config.h
cyy ab55a99283 Use TORCH_DECLARE_XXX (#139952)
Because those files use TORCH_API

Pull Request resolved: https://github.com/pytorch/pytorch/pull/139952
Approved by: https://github.com/ezyang
2024-11-09 04:56:28 +00:00

8 lines
206 B
C

#pragma once
#include <c10/util/Flags.h>
// TODO(whc) unclear if this is useful, has only been tested as true
TORCH_DECLARE_bool(torch_lazy_ts_tensor_update_sync);
TORCH_DECLARE_bool(torch_lazy_ts_cuda);