I want to use my own MD-Simulation C code with Open CL and for that purpose I have a few question.
The numbers of particles I want to use is 4096, so my global work size would be 4096 (?) and each force calculation and integration for the movement can be a single work-item (?).
What is the goal of the Work_Group ? My GPU can handle only a certain number of work items with shared memory so I group my workitems to make it easier for my gpu to parallize ? Or do I not need this parameter in my example, but when I increase the numbers of particle it can become handy. In other words, can I fire up all 4096 calculation at once and will it be solved at once ? Furthermore, my data would be stored in a structur, so the “data dimension” is 1 ?
What is a reasonable Work_group size ?
Is there a list of the error codes available on the website, because I have a probleme with passing arguments to the kernel and I get the error number 38.
Is there a list available for the clGetDeviceInfo command which tells me what variable I need for a certain quantity (for example:CL_DEVICE_MAX_WORK_ITEM_SIZES)
I hope someone can answere these questions to me, because I´m really excited about this new piece of technology.
As a remark, I found the simulation of stars by apple, but its to complicated for me to get all the answers to my question