Skip to content

Exchange variables between kernels without get&put on host memory #56

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. I create two classes extending kernel
2. In the constructor I pass the same array. Then with setexplicit(true) and 
put I ask to copy memory from host to GPU.
3. Execute the two kernels

What is the expected output? What do you see instead?
They work on independent variables even if, before the execution, the variables 
on the CPU point to the same memory location.
I don't know if there is a way to exchange variables between kernels without 
passing on the host memory. This example works with setexplicit(false) and if I 
use only a kernel more times (similar to your examples in the wiki).

What version of the product are you using? On what operating system?
The version used is the stable one found on "downloads".

I hope this could be useful. I think that aparapi is fantastic speed up my work!
Thank you!


Original issue reported on code.google.com by egidio.d...@gmail.com on 14 Jul 2012 at 10:36

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions