Hello everyone,
Could I ask some questions about POCL 0.10?

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?
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?
5. Is the macro DL_APPEND correct in POCL 0.10?. Please see and compare the 
macoro and reference code in below.

[macro in POCL 0.10]
----------------------------------------------- 
#define DL_APPEND(head,add)
do {
  if (head) {
      (add)->prev = (head)->prev;
      (head)->prev->next = (add);
      (head)->prev = (add);
      (add)->next = NULL;
  } else {
      (head)=(add);
      (head)->prev = (head);
      (head)->next = NULL;
  }
} while (0);    
--------------------------------------------

The reference code of append in Doubly linked list 
http://en.wikipedia.org/wiki/Doubly_linked_list#Inserting_a_node_3 
---------------------------------------------

function insertAfter(List list, Node node, Node newNode)
     newNode.prev  := node
     newNode.next  := node.next
     if node.next == null
         list.lastNode  := newNode
     else
         node.next.prev  := newNode
     node.next  := newNode
---------------------------------------------



Regards,
Lee Ki-ju

-----Original Message-----
From: Kiju Lee 
Sent: October-01-14 10:15 AM
To: 'Pekka Jääskeläinen'; Portable Computing Language development discussion
Cc: Christina Xu
Subject: RE: [pocl-devel] Questions about Memory leaks in POCL 0.10


Hi  Pekka,
I'm sorry for too late answer. 
I made a folk and pull request.

https://github.com/leekiju/pocl/ 
https://github.com/pocl/pocl/pull/133 

Regards,
Lee Ki-ju

-----Original Message-----
From: Pekka Jääskeläinen [mailto:[email protected]] 
Sent: September-22-14 2:37 PM
To: Portable Computing Language development discussion
Cc: Christina Xu; Kiju Lee
Subject: Re: [pocl-devel] Questions about Memory leaks in POCL 0.10

On 09/22/2014 07:01 PM, Kiju Lee wrote:
> Sorry I want to change the 5^th issue like the below.

Thanks Lee Ki-ju for noticing these!

Could you please provide these fixes as a pull request of a branch of pocl 
master in github so it's easier to review and merge them?

https://help.github.com/articles/using-pull-requests

Thanks,
--
--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

Reply via email to