Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use custom module build options in LONG_RUNNING_KERNEL_INTERRUPTED test type #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
8 changes: 7 additions & 1 deletion conformance_tests/tools/debug/src/test_debug_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,15 @@ void run_long_kernel(ze_context_handle_t context, ze_device_handle_t device,
}

synchro.wait_for_debugger_signal();

std::string mod_options = "-g";
if (options.module_options_in != "") {
mod_options.append("," + options.module_options_in);
}
LOG_INFO << "Module Options: " << mod_options;
auto module =
lzt::create_module(device, module_name, ZE_MODULE_FORMAT_IL_SPIRV,
"-g" /* include debug symbols*/, nullptr);
mod_options.c_str(), nullptr);

auto kernel = lzt::create_function(module, kernel_name);

Expand Down
Loading