mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
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:

committed by
sys_ocldev

parent
58b85e19af
commit
c7a49666d5
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user