-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port test_stable_sort_against_numpy (#734)
CUDA has skipped the index_fill call in this UT by hard coding. We need to do the same. Otherwise, there will be `idx` tensor on CPU while `self` tensor on XPU, which would result in page fault. --------- Co-authored-by: Feng Yuan <feng1.yuan@intel.com>
- Loading branch information
1 parent
d3d992d
commit a818677
Showing
1 changed file
with
85 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters