mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Fix builtin kernel copy_kernel_timestamps
Resolves: NEO-5905 Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
7cac94b597
commit
00fc92129d
@ -7,5 +7,5 @@
|
||||
|
||||
#include "opencl/test/unit_test/helpers/kernel_binary_helper.h"
|
||||
|
||||
const std::string KernelBinaryHelper::BUILT_INS("9007865385029577975");
|
||||
const std::string KernelBinaryHelper::BUILT_INS_WITH_IMAGES("17984918533494000167_images");
|
||||
const std::string KernelBinaryHelper::BUILT_INS("7836643072362489210");
|
||||
const std::string KernelBinaryHelper::BUILT_INS_WITH_IMAGES("10613492505254921609_images");
|
||||
|
@ -52,7 +52,7 @@ __kernel void QueryKernelTimestamps(__global ulong* srcEvents, __global ulong* d
|
||||
if(packetUsed > 1) {
|
||||
uint timestampsOffsets = 4;
|
||||
for(uint i = 1; i < packetUsed; i++) {
|
||||
timestampsOffsets *= i;
|
||||
timestampsOffsets += i;
|
||||
if(contextStart > GetTimestampValue(srcPtr, timestampSizeInDw, timestampsOffsets)) {
|
||||
contextStart = GetTimestampValue(srcPtr, timestampSizeInDw, timestampsOffsets);
|
||||
}
|
||||
@ -93,7 +93,7 @@ __kernel void QueryKernelTimestampsWithOffsets(__global ulong* srcEvents, __glob
|
||||
if(packetUsed > 1) {
|
||||
uint timestampsOffsets = 4;
|
||||
for(uint i = 1; i < packetUsed; i++) {
|
||||
timestampsOffsets *= i;
|
||||
timestampsOffsets += i;
|
||||
if(contextStart > GetTimestampValue(srcPtr, timestampSizeInDw, timestampsOffsets)) {
|
||||
contextStart = GetTimestampValue(srcPtr, timestampSizeInDw, timestampsOffsets);
|
||||
}
|
||||
|
@ -265,7 +265,7 @@ __kernel void QueryKernelTimestamps(__global ulong* srcEvents, __global ulong* d
|
||||
if(packetUsed > 1) {
|
||||
uint timestampsOffsets = 4;
|
||||
for(uint i = 1; i < packetUsed; i++) {
|
||||
timestampsOffsets *= i;
|
||||
timestampsOffsets += i;
|
||||
if(contextStart > GetTimestampValue(srcPtr, timestampSizeInDw, timestampsOffsets)) {
|
||||
contextStart = GetTimestampValue(srcPtr, timestampSizeInDw, timestampsOffsets);
|
||||
}
|
||||
@ -306,7 +306,7 @@ __kernel void QueryKernelTimestampsWithOffsets(__global ulong* srcEvents, __glob
|
||||
if(packetUsed > 1) {
|
||||
uint timestampsOffsets = 4;
|
||||
for(uint i = 1; i < packetUsed; i++) {
|
||||
timestampsOffsets *= i;
|
||||
timestampsOffsets += i;
|
||||
if(contextStart > GetTimestampValue(srcPtr, timestampSizeInDw, timestampsOffsets)) {
|
||||
contextStart = GetTimestampValue(srcPtr, timestampSizeInDw, timestampsOffsets);
|
||||
}
|
@ -265,7 +265,7 @@ __kernel void QueryKernelTimestamps(__global ulong* srcEvents, __global ulong* d
|
||||
if(packetUsed > 1) {
|
||||
uint timestampsOffsets = 4;
|
||||
for(uint i = 1; i < packetUsed; i++) {
|
||||
timestampsOffsets *= i;
|
||||
timestampsOffsets += i;
|
||||
if(contextStart > GetTimestampValue(srcPtr, timestampSizeInDw, timestampsOffsets)) {
|
||||
contextStart = GetTimestampValue(srcPtr, timestampSizeInDw, timestampsOffsets);
|
||||
}
|
||||
@ -306,7 +306,7 @@ __kernel void QueryKernelTimestampsWithOffsets(__global ulong* srcEvents, __glob
|
||||
if(packetUsed > 1) {
|
||||
uint timestampsOffsets = 4;
|
||||
for(uint i = 1; i < packetUsed; i++) {
|
||||
timestampsOffsets *= i;
|
||||
timestampsOffsets += i;
|
||||
if(contextStart > GetTimestampValue(srcPtr, timestampSizeInDw, timestampsOffsets)) {
|
||||
contextStart = GetTimestampValue(srcPtr, timestampSizeInDw, timestampsOffsets);
|
||||
}
|
Reference in New Issue
Block a user