Differences

This shows you the differences between two versions of the page.

Link to this comparison view

asc:laboratoare:06 [2025/04/09 09:06]
alexandru.bala [Fluxuri nonimplicite]
asc:laboratoare:06 [2025/04/09 09:11] (current)
alexandru.bala [Fluxuri nonimplicite]
Line 237: Line 237:
  
 <code C> <code C>
-result = cudaMemcpyAsync(d_a,​ a, N, cudaMemcpyHostToDevice,​ stream1);+// num_bytes = N * sizeof (type_a); 
 +result = cudaMemcpyAsync(d_a,​ a, num_bytes, cudaMemcpyHostToDevice,​ stream1);
 </​code>​ </​code>​
  
asc/laboratoare/06.1744178787.txt.gz · Last modified: 2025/04/09 09:06 by alexandru.bala
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0