cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

debdatta_basu
Journeyman III

Overlapped reads and kernel execution

For my algorithm, i need to constantly poll a buffer attached to a gpu kernel while the kernel is executing...... The way i think this would work is creating two streams.... enqueue the kernel on one, and keep queueing buffer maps on the other for cpu readback.....

Is this possible? Will this let me monitor changes made to the buffer by the kernel in realtime?

Thank you,

Debdatta Basu

0 Likes
4 Replies
debdatta_basu
Journeyman III

I need someone to answer this.. please...

 

Thank You...

0 Likes

kernel execution and buffer polling is not possible concurrently as of now.

I will be possible to do this once DMA is enabled.

0 Likes

@Himanshu....

Isnt memory access already DMA'd?  i mean... the gpu cores do not really transfer memory from the pci Bus... There has to be a dedicated on board memory controller for this purpose.....

It might be that the controller and the  cores have mutually exclusive access to the memory.... Is this so?

-Debdatta Basu.

0 Likes

Cores and memory controller do not have mutually exclusive memory access for now.

It can be possible if DMA is enabled.

0 Likes