Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

glob_vars may cover Scalar in diopi_runtime #88

@zhang261007

Description

@zhang261007

In python/conformance/diopi_runtime.py when instantiation class Scalar(Structure),without declaration of dtype, 'dtype = Dtype.int64 if isinstance(value, int) else Dtype.float64'.
Should glob_vars be able to limit the dtype of Scalar for some chips not support fp64 yet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions