You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
d_data 's size is (w * h) *sizeof(char) in this ap, while malloc it with w * h *sizeof(unsigned int).
d_integral_image's size is n_elements * sizeof(int) in this ap.
Current version has a puzzling size.
cuda-samples/Samples/2_Concepts_and_Techniques/shfl_scan/shfl_scan.cu
Lines 329 to 333 in 5f97d7d
The size of d_data and d_integral_image here can be misleading.
d_data 's size is
(w * h) *sizeof(char)
in this ap, while malloc it withw * h *sizeof(unsigned int)
.d_integral_image's size is
n_elements * sizeof(int)
in this ap.Current version has a puzzling size.
change it to:
may be better?
The text was updated successfully, but these errors were encountered: