P4 to Git Change 1180506 by yaxunl@yaxunl_stg_win50 on 2015/08/14 11:18:00

ECR #354633 - SPIR-V: Add clCreateProgramWithIL API to CL 2.0.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.def.in#14 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map.in#17 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd_amd.h#16 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.h#20 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.c#27 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.h#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#31 edit


[ROCm/clr commit: b9d5051b72]
このコミットが含まれているのは:
foreman
2015-08-14 11:36:12 -04:00
コミット d252efbe9f
+4 -1
ファイルの表示
@@ -81,6 +81,7 @@ private:
SharedReference<Context> context_;
std::string sourceCode_; //!< Strings that make up the source code
bool isIL_; //!< The binary image is IL
devicebinary_t binary_; //!< The binary image, provided by the app
symbols_t* symbolTable_; //!< The program's kernels symbol table
std::string kernelNames_; //!< The program kernel names
@@ -105,9 +106,10 @@ protected:
public:
//! Construct a new program to be compiled from the given source code.
Program(Context& context, const std::string& sourceCode)
Program(Context& context, const std::string& sourceCode, bool isIL = false)
: context_(context)
, sourceCode_(sourceCode)
, isIL_(isIL)
, symbolTable_(NULL)
, programLog_()
, firstBuildNoOpt_(true)
@@ -116,6 +118,7 @@ public:
//! Construct a new program associated with a context.
Program(Context& context)
: context_(context)
, isIL_(false)
, symbolTable_(NULL)
{ }