Skip to content

[SYCL] Fix self-build #4286

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

Merged
merged 2 commits into from
Aug 9, 2021
Merged
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
5 changes: 2 additions & 3 deletions sycl/plugins/level_zero/pi_level_zero.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ struct _pi_device : _pi_object {
// Structure describing the specific use of a command-list in a queue.
// This is because command-lists are re-used across multiple queues
// in the same context.
typedef struct {
struct pi_command_list_info_t {
// The Level-Zero fence that will be signalled at completion.
ze_fence_handle_t ZeFence{nullptr};
// Record if the fence is in use.
Expand All @@ -368,8 +368,7 @@ typedef struct {
std::vector<pi_event> EventList{};
size_t size() const { return EventList.size(); }
void append(pi_event Event) { EventList.push_back(Event); }

} pi_command_list_info_t;
};

// The map type that would track all command-lists in a queue.
typedef std::unordered_map<ze_command_list_handle_t, pi_command_list_info_t>
Expand Down