[doc] Add explanatation of usage of TI_VISIBLE_DEVICE and CUDA_VISIBLE_DEVICES (#5910)
[doc] Add explanatation of usage of TI_VISIBLE_DEVICE and CUDA_VISIBLE_DEVICES (#5910)

* fix a bug that we should unify CUDA_VISIBLE_DEVICES and TI_VISIBLE_DEVICE to make sure cuda and vulkan use the same gpu device

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add warning and update doc of using TI_VISIBLE_DEVICE

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* convert to format-string

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add explanation of CUDA_VISIBLE_DEVICES & TI_VISIBLE_DEVICE

* Update misc.py

* Update docs/lang/articles/reference/global_settings.md

Co-authored-by: Ailing  <1b6840d5aad3f67904e2d5dd1e336090078ee11e@users.noreply.github.com>

Co-authored-by: pre-commit-ci[bot] <3ea08453efb076ca910552532a53973a6527df40@users.noreply.github.com>
Co-authored-by: Ailing  <1b6840d5aad3f67904e2d5dd1e336090078ee11e@users.noreply.github.com>
yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi