; Stub import library definition for PyTorch's AOTI stable C ABI symbols.
; Used on Windows only: 'lib /DEF:aoti_shim.def /OUT:aoti_shim.lib /MACHINE:X64'
; generates a minimal import library that satisfies the MSVC linker.
; At runtime the symbols resolve from torch_cpu.dll (loaded by 'import torch').
;
; IMPORTANT: Keep this export list in sync with the AOTI_SHIM_API declarations
; in aoti_shim.h. setup.py turns this file into the stub import library
; that MSVC uses to link _tensor_bridge, so any added/removed/renamed AOTI
; symbol must be updated in both files.
LIBRARY torch_cpu.dll
EXPORTS
    aoti_torch_get_data_ptr
    aoti_torch_get_dim
    aoti_torch_get_sizes
    aoti_torch_get_strides
    aoti_torch_get_dtype
    aoti_torch_dtype_float16
    aoti_torch_dtype_float32
    aoti_torch_dtype_float64
    aoti_torch_dtype_bfloat16
    aoti_torch_dtype_uint8
    aoti_torch_dtype_uint16
    aoti_torch_dtype_uint32
    aoti_torch_dtype_uint64
    aoti_torch_dtype_int8
    aoti_torch_dtype_int16
    aoti_torch_dtype_int32
    aoti_torch_dtype_int64
    aoti_torch_dtype_bool
    aoti_torch_dtype_complex32
    aoti_torch_dtype_complex64
    aoti_torch_dtype_complex128
    aoti_torch_get_device_type
    aoti_torch_get_device_index
    aoti_torch_device_type_cpu
    aoti_torch_device_type_cuda
