mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Kernel refactor.
- Change function names to indicate they work on SVM allocations. - Remove one function used only in tests. Change-Id: I9b18d9fee3d4f2a46a7f458ca73d39b3863ce6d3 Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
8e969684f1
commit
be48b56732
@@ -130,8 +130,8 @@ class Kernel : public BaseObject<_cl_kernel> {
|
||||
cl_int setArgSvm(uint32_t argIndex, size_t svmAllocSize, void *svmPtr, GraphicsAllocation *svmAlloc, cl_mem_flags svmFlags);
|
||||
cl_int setArgSvmAlloc(uint32_t argIndex, void *svmPtr, GraphicsAllocation *svmAlloc);
|
||||
|
||||
void setKernelExecInfo(GraphicsAllocation *argValue);
|
||||
void clearKernelExecInfo();
|
||||
void setSvmKernelExecInfo(GraphicsAllocation *argValue);
|
||||
void clearSvmKernelExecInfo();
|
||||
|
||||
cl_int getInfo(cl_kernel_info paramName, size_t paramValueSize,
|
||||
void *paramValue, size_t *paramValueSizeRet) const;
|
||||
@@ -174,10 +174,6 @@ class Kernel : public BaseObject<_cl_kernel> {
|
||||
return kernelArguments;
|
||||
}
|
||||
|
||||
const std::vector<GraphicsAllocation *> &getKernelSvmGfxAllocations() const {
|
||||
return kernelSvmGfxAllocations;
|
||||
}
|
||||
|
||||
size_t getKernelArgsNumber() const {
|
||||
return kernelInfo.kernelArgInfo.size();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user