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
Currently when start and length are illegal, CpuSlice and GpuSlice can report errors separately, but the types of errors are different. The error type for GpuSlice needs to be modified to support the addition of assert_gpu_and_cpu_error tests.
The text was updated successfully, but these errors were encountered:
ustcfy
changed the title
Add assertions for invalid start and length parameters in GpuSlice, as well as tests for CPU and GPU assertion errors.
Add assertions for illegal start and length parameters in GpuSlice, as well as tests for CPU and GPU assertion errors.
Feb 24, 2025
res-life
changed the title
Add assertions for illegal start and length parameters in GpuSlice, as well as tests for CPU and GPU assertion errors.
[FOLLOW-UP] Refine error message for GpuSlice invalid cases.
Feb 24, 2025
As a supplement to #12183
Currently when
start
andlength
are illegal,CpuSlice
andGpuSlice
can report errors separately, but the types of errors are different. The error type forGpuSlice
needs to be modified to support the addition ofassert_gpu_and_cpu_error
tests.The text was updated successfully, but these errors were encountered: