Skip to content

Commit

Permalink
Remove subprocess from skiplists
Browse files Browse the repository at this point in the history
Closes intel#800

Signed-off-by: Kirill Suvorov <[email protected]>
  • Loading branch information
Retribution98 committed Oct 17, 2024
1 parent f4fdd8f commit 35b6615
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 46 deletions.
11 changes: 3 additions & 8 deletions python/test/unit/language/print_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,20 +131,15 @@ def test_print(func: str, data_type: str, device: str):
else:
assert f"Unknown kernel: {func}"

if device == "xpu":
# FIXME: remove trigger to get output from kernel
repr(x)
repr(y)
# Wait until driver complete all the jobs for the device_print, especially test_subprocess
# require this which captures stdout when child exits.
getattr(torch, device).synchronize()

if func != "print_no_arg" and func != "no_arg_print" and func != "device_print_large" and \
func != "print_multiple_args" and func != "device_print_multiple_args" and \
func != "device_print_pointer" and func != "device_print_scalar":
assert_close(y, x)

# Wait until driver complete all the jobs for the device_print, especially test_subprocess
# require this which captures stdout when child exits.
getattr(torch, device).synchronize()


if __name__ == "__main__":
fn = globals()[sys.argv[1]]
Expand Down
2 changes: 0 additions & 2 deletions scripts/skiplist/a770/subprocess.txt

This file was deleted.

9 changes: 0 additions & 9 deletions scripts/skiplist/conda/subprocess.txt

This file was deleted.

9 changes: 0 additions & 9 deletions scripts/skiplist/default/subprocess.txt

This file was deleted.

9 changes: 0 additions & 9 deletions scripts/skiplist/lts/subprocess.txt

This file was deleted.

9 changes: 0 additions & 9 deletions scripts/skiplist/no-basekit/subprocess.txt

This file was deleted.

0 comments on commit 35b6615

Please sign in to comment.