scott.linder added a comment.

Beyond constructors/destructors I believe an API which we implement through 
access to dynamic symbols for global variable is `clGetProgramBuildInfo(..., 
CL_PROGRAM_BUILD_GLOBAL_VARIABLE_TOTAL_SIZE, ...)` which is defined as "The 
total amount of storage, in bytes, used by program variables in the global 
address space."

As for kernels, an example of an API which we implement through access to 
kernel symbols is `clGetProgramInfo(..., CL_PROGRAM_KERNEL_NAMES, ...)`

Both of these are defined at 
https://www.khronos.org/registry/OpenCL/specs/2.2/html/OpenCL_API.html#_program_object_queries


https://reviews.llvm.org/D53153



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to