Skip to content
Snippets Groups Projects
Commit 468170fe authored by Nicolas Pope's avatar Nicolas Pope
Browse files

More debug output

parent c5042cc3
No related branches found
No related tags found
No related merge requests found
Pipeline #29114 failed
......@@ -81,11 +81,12 @@ windows-master:
- master
stage: all
variables:
CMAKE_ARGS: '-DWITH_OPTFLOW=TRUE'
CMAKE_ARGS: '-DWITH_OPTFLOW=TRUE -DBUILD_TESTS=FALSE'
DEPLOY_DIR: 'C:/Shared/AutoDeploy'
tags:
- win
script:
- *build-windows
- set PATH=%PATH%;C:/Shared/Deploy
- ctest --output-on-failure --timeout 30
# - set PATH=%PATH%;C:/Shared/Deploy
# - ctest --output-on-failure --timeout 30
......@@ -611,8 +611,10 @@ void CUDARender::_end() {
LOG(INFO) << "ABOUT TO COPY COLLISIONS";
cudaSafeCall(cudaMemcpyAsync(collisions_host_, collisions_, sizeof(ftl::cuda::Collision)*1024, cudaMemcpyDeviceToHost, stream_));
LOG(INFO) << "SYNC STREAM";
cudaSafeCall(cudaStreamSynchronize(stream_));
LOG(INFO) << "COLLISION COUNT = " << collisions_host_[0].screen;
// Convert collisions into camera coordinates.
collision_points_.resize(collisions_host_[0].screen);
for (uint i=1; i<collisions_host_[0].screen+1; ++i) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment