Refactor querying Main and Parent Kernel from MultiDispatchInfo

Change-Id: I723d91f2f445bc7af1bcb0de46f8ac07837f3449
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2018-08-16 15:47:25 +02:00
committed by sys_ocldev
parent 58b85e19af
commit c7a49666d5
15 changed files with 353 additions and 318 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Intel Corporation
* Copyright (c) 2017 - 2018, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@ -28,7 +28,7 @@ using namespace OCLRT;
class MockMultiDispatchInfo : public MultiDispatchInfo {
public:
MockMultiDispatchInfo(Kernel *kernel) {
MockMultiDispatchInfo(Kernel *kernel) : MultiDispatchInfo(kernel) {
DispatchInfo di(kernel, 1, {100, 1, 1}, {10, 1, 1}, {0, 0, 0});
dispatchInfos.push_back(di);
}