diff options
author | Junyan He <junyan.he@linux.intel.com> | 2013-06-18 16:44:49 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@linux.intel.com> | 2013-06-19 13:14:45 +0800 |
commit | 2cacc799f7ef1dff006c97360298e4f6e847d1e9 (patch) | |
tree | 58091ef0ad6f2413993f5d858f8641538aa7398e /src/cl_program.h | |
parent | bad83fb38939de67ba8ff7504dce1c33e1a879ac (diff) |
add the support of clGetProgramBuildInfo and clGetProgramInfo
For clGetProgramBuildInfo,
CL_BUILD_IN_PROGRESS not support now
and CL_PROGRAM_BUILD_LOG need do add the info collection
logic in backend and not support too, just return null
string now.
clGetProgramInfo all are fully supported.
Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Reviewed-by: Ruiling Song <ruiling.song@intel.com>
Diffstat (limited to 'src/cl_program.h')
-rw-r--r-- | src/cl_program.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cl_program.h b/src/cl_program.h index 3e3edab0..996a496c 100644 --- a/src/cl_program.h +++ b/src/cl_program.h @@ -51,6 +51,7 @@ struct _cl_program { uint32_t ker_n; /* Number of declared kernels */ uint32_t source_type:2; /* Built from binary, source or LLVM */ uint32_t is_built:1; /* Did we call clBuildProgram on it? */ + char *build_opts; /* The build options for this program */ }; /* Create a empty program */ |