P4 to Git Change 1200677 by mbareghe@mbareghe_stg_win30 on 2015/10/16 10:11:30

SWDEV-78915 - SYCL - segfault building SPIR binary where the kernel name exceeds 255 characters - changed kernel/arg name type from char[] to string to avoid the 256 character limitation.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#304 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#122 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#211 edit
이 커밋은 다음에 포함됨:
foreman
2015-10-16 10:20:54 -04:00
부모 108aa6e8ee
커밋 fab877c56d
3개의 변경된 파일6개의 추가작업 그리고 8개의 파일을 삭제
+2 -2
파일 보기
@@ -1085,7 +1085,7 @@ NullProgram::findILFuncs(const std::string& source,
// Loop through all provided program arguments
while (pos != std::string::npos) {
char funcName[256];
std::string funcName;
ILFunc func;
func.code_.begin_ = pos;
@@ -1445,7 +1445,7 @@ NullProgram::parseKernels(const std::string& source)
pos = 0;
// Find all available metadata structures
for (size_t i = 0; i < funcs_.size(); ++i) {
char funcName[256];
std::string funcName;
ILFunc::SourceRange range;
// Find function metadata start