hydradarpa / kalman-hydra

Python and C++ code for Hydra optical flow, behavior analysis with extended Kalman filter tracker
2 stars 0 forks source link

Move code to CUDA #5

Closed benlansdell closed 8 years ago

benlansdell commented 8 years ago

Need to adapt total for 2D arrays...

benlansdell commented 8 years ago

Actually, probably don't need 2D arrays, this will complicate reduction code. Can just index texture arrays using one dimension

benlansdell commented 8 years ago

This means that once loaded, the data is the same, hence test_cuda_total gives the same between CPU and GPU, but differs in the loading

benlansdell commented 8 years ago

Had to also flip the incoming y_flowx and y_flowy data.... see 71b877a