mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Kernel descriptor - copy name
Change-Id: Ic4ef196cf5ff2be7a06a5c09804685341944e56f
This commit is contained in:
@@ -432,7 +432,7 @@ void populateArgDescriptor(KernelDescriptor &dst, size_t argNum, const PatchToke
|
||||
|
||||
void populateKernelDescriptor(KernelDescriptor &dst, const PatchTokenBinary::KernelFromPatchtokens &src, uint32_t gpuPointerSizeInBytes) {
|
||||
UNRECOVERABLE_IF(nullptr == src.header);
|
||||
|
||||
dst.kernelMetadata.kernelName = std::string(src.name.begin(), src.name.end()).c_str();
|
||||
populateKernelDescriptorIfNotNull(dst, src.tokens.executionEnvironment);
|
||||
populateKernelDescriptorIfNotNull(dst, src.tokens.samplerStateArray);
|
||||
populateKernelDescriptorIfNotNull(dst, src.tokens.bindingTableState);
|
||||
|
||||
Reference in New Issue
Block a user