P4 to Git Change 1249491 by gandryey@gera-w8 on 2016/03/21 17:37:48

SWDEV-90408 - OpenCL runtime crashes when querying CL_PROGRAM_NUM_KERNELS on a program built with clCompileProgram
	- The app attempts to get query before build/link call. Make sure symbols are available.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#39 edit
这个提交包含在:
foreman 于 2016-03-21 17:51:06 -04:00 提交
1 父节点 3f6cc5b851
当前提交 769ff6d3f8
1 个文件已更改
+3
+3
查看文件
@@ -131,6 +131,9 @@ public:
//! Return the symbols for this program.
const symbols_t& symbols() const { return *symbolTable_; }
//! Return the pointer to symbols for this program.
const symbols_t* symbolsPtr() const { return symbolTable_; }
//! Return the program source code.
const std::string& sourceCode() const { return sourceCode_; }