Pass more information to programPipelineSelect.

Change-Id: Iaabe60742269b721f8defe71306dd6e87d60d546
This commit is contained in:
Piotr Fusik
2018-11-14 08:40:37 +01:00
committed by sys_ocldev
parent 9bdedc62dd
commit 76efeae9d8
13 changed files with 30 additions and 14 deletions

View File

@ -276,15 +276,16 @@ class Kernel : public BaseObject<_cl_kernel> {
const void *getKernelArg(uint32_t argIndex) const;
const SimpleKernelArgInfo &getKernelArgInfo(uint32_t argIndex) const;
bool getAllowNonUniform() { return program->getAllowNonUniform(); }
bool isVmeKernel() { return kernelInfo.isVmeWorkload; };
bool getAllowNonUniform() const { return program->getAllowNonUniform(); }
bool isVmeKernel() const { return kernelInfo.isVmeWorkload; }
bool requiresSpecialPipelineSelectMode() const { return specialPipelineSelectMode; }
//residency for kernel surfaces
MOCKABLE_VIRTUAL void makeResident(CommandStreamReceiver &commandStreamReceiver);
MOCKABLE_VIRTUAL void getResidency(std::vector<Surface *> &dst);
bool requiresCoherency();
void resetSharedObjectsPatchAddresses();
bool isUsingSharedObjArgs() { return usingSharedObjArgs; }
bool isUsingSharedObjArgs() const { return usingSharedObjArgs; }
bool hasPrintfOutput() const;
@ -490,5 +491,7 @@ class Kernel : public BaseObject<_cl_kernel> {
std::vector<PatchInfoData> patchInfoDataList;
std::unique_ptr<ImageTransformer> imageTransformer;
bool specialPipelineSelectMode = false;
};
} // namespace OCLRT