oneapi-src / level-zero-tests

oneAPI Level Zero Conformance & Performance test content
https://spec.oneapi.com/versions/latest/elements/l0/source/index.html
MIT License
45 stars 36 forks source link

Incorrect index in zeEventCreate() in GivenConcurrentLogicalCommandQueuesWhenStartSynchronizedThenHighPriorityCompletesFirst #26

Open Alexandr-Konovalov opened 1 year ago

Alexandr-Konovalov commented 1 year ago

ze_event_desc_t::index in

        event_desc.index = index++;
        auto event_compute_low = lzt::create_event(ep_time, event_desc);
        event_compute_lows.push_back(event_compute_low);

should be initialized by pre-increment, as currently 1st element of event_compute_lows and event_compute_high is same event, because they created using same index.