You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I provide a improper value of arch (for example arch=12) into Runtime(TiArch arch, TiRuntime runtime, bool should_destroy), taichi does not report any errors.
Expected behaviour
I hope taichi could report a fatal error and shut down the program in this situation, because an improper arch could affect the following execution of the program (for example, it could be fatal if Runtim::arch() returns a wrong result).
The text was updated successfully, but these errors were encountered:
YuCrazing
changed the title
Runtime(TiArch arch, TiRuntime runtime, bool should_destroy) should give a error when providing improper arch parameter
Runtime(TiArch arch, TiRuntime runtime, bool should_destroy) should terminate the program when providing improper arch parameter
May 18, 2023
Describe the bug
When I provide a improper value of
arch
(for examplearch=12
) intoRuntime(TiArch arch, TiRuntime runtime, bool should_destroy)
, taichi does not report any errors.Expected behaviour
I hope taichi could report a fatal error and shut down the program in this situation, because an improper arch could affect the following execution of the program (for example, it could be fatal if
Runtim::arch()
returns a wrong result).The text was updated successfully, but these errors were encountered: