Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions scripts/skiplist/lts/language.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ test/unit/language/test_core.py::test_dot_max_num_imprecise_acc[64-float8e5-128-
test/unit/language/test_core.py::test_dot_max_num_imprecise_acc[64-float8e4nv-128-256-128-128-256-256]
test/unit/language/test_core.py::test_dot_max_num_imprecise_acc[64-float8e4b15-128-256-128-128-256-256]
test/unit/language/test_core.py::test_dot_max_num_imprecise_acc[128-float8e5-128-256-128-128-256-256]
# https://github.com/intel/intel-xpu-backend-for-triton/issues/2662
test/unit/language/test_core.py::test_scan_layouts[True-1-src_layout10-64-32]
# https://github.com/intel/intel-xpu-backend-for-triton/issues/2703
test/unit/language/test_core.py::test_chained_reductions[in_shape0-perm0-red_dims0]
test/unit/language/test_core.py::test_dot3d[1-1-32-32-32-32-32-float16-float16]
Expand Down
22 changes: 15 additions & 7 deletions third_party/intel/backend/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,21 @@ static PyObject *loadBinary(PyObject *self, PyObject *args) {

build_flags.addLargeGRFSizeFlag();

auto [l0_module, l0_kernel, n_spills] = compileLevelZeroObjects(
binary_ptr, binary_size, kernel_name, l0_device, l0_context,
build_flags(), is_spv);

if (debugEnabled)
std::cout << "(I): Kernel has now " << n_spills << " spills"
<< std::endl;
try {
auto [l0_module, l0_kernel, n_spills] = compileLevelZeroObjects(
binary_ptr, binary_size, kernel_name, l0_device, l0_context,
build_flags(), is_spv);

if (debugEnabled)
std::cout << "(I): Kernel has now " << n_spills << " spills"
<< std::endl;
} catch (const std::exception &e) {
std::cerr << "[Ignoring] Error during Intel loadBinary with large "
"registers: "
<< e.what() << std::endl;
// construct previous working version
build_flags = BuildFlags(build_flags_ptr);
}
}
}

Expand Down