Skip to content

Commit 6cb59f2

Browse files
[UT][intel] Fix test_pipeline_epilogue
1 parent d4a9635 commit 6cb59f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/test/unit/language/test_pipeliner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def kernel_up(output_ptr, input_ptr, input_row_stride, output_row_stride, n_rows
203203

204204
width = ROW_COUNT
205205
depth = 78
206-
x = torch.zeros(width, depth, device='cuda')
206+
x = torch.zeros(width, depth, device=device)
207207
y0 = torch.rand_like(x)
208208
n_rows, n_cols = x.shape
209209
BLOCK_SIZE = triton.next_power_of_2(n_cols)

0 commit comments

Comments
 (0)