On 10/01/2014 05:38 PM, Kiju Lee wrote:
> 1. Where are the arrays, kernel.arg_info[i], allocated in the POCL 0.10?
> 2. Where is the kernel->has_arg_metadata in clGetKernelArgInfo configured?
> 3. Where are the array, kernel->dyn_arguments[], allocated in POCL 0.10?
In pocl_llvm_api.cc, pocl_llvm_get_kernel_metadata() function.
> 4. When I see the clEnqueuMapBuffer.c, I guess, "mapping_info" structure
> might be handled like command list and event list, which is handled by some
> functions in pocl_mem_management.c. But not implied yet.
> Is it correct?
I'm not sure what you mean with this.
> 5. Is the macro DL_APPEND correct in POCL 0.10?. Please see and compare the
> macoro and reference code in below.
It has worked so far and it's used in many places.
The implementation is maybe confusing due to this:
"(This is because, in the utlist implementation of the doubly-linked
list, the head element’s prev member points back to the list tail,
even when the list is non-circular)."
http://troydhanson.github.io/uthash/utlist.html
--
Pekka
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel