taichi._testing

Module Contents

Functions

test(arch=None, exclude=None, require=None, **options)

Performs tests on archs in expected_archs() which are in arch and not in exclude and satisfy require

taichi._testing.test(arch=None, exclude=None, require=None, **options)

Performs tests on archs in expected_archs() which are in arch and not in exclude and satisfy require

ti.test(arch=[], exclude=[], require=[], **options)
Parameters
  • arch – backends to include

  • exclude – backends to exclude

  • require – extensions required

  • options – other options to be passed into ti.init