Code Monkey home page Code Monkey logo

Comments (2)

shubhMaheshwari avatar shubhMaheshwari commented on August 16, 2024

@BaldrLector were you able to resolve the issue?
I added a print function at line 99 of marching_cubes.cu which somehow made the module work. Below is the result on frame 116.
000116

Without adding the print function, I am getting illegal memory access because the number of active voxels would be 0. I am fairly new to CUDA programming but my assumption is that we are facing some synchronization issue where a GPU thread is accessing some part of memory not initialized.

Adding a print function is just a hack that has significantly increased the computation time. It would be very helpful if @dgrzech could look at it.

I am running the application on
OS: Ubuntu 18.04
g++: 7.5.0
GPU: NVIDIA 1060 (6GB)
Nvidia Driver Version: 450.102.04
CUDA Version: 11.0

Thanks.

from sobfu.

LuyaooChen avatar LuyaooChen commented on August 16, 2024

I met this issue too. Thanks for @shubhMaheshwari 's help, adding a print function or __syncthreads() at line 99 of marching_cubes.cu is helpful, though I can't locate the problem.
btw I also run dynamicfusion and dynfu, and getting emtpy volume. The number of active voxels is 0. These 3 code base on the similar kfusion module. So I think these are caused by similar reason, but adding a print function at the same position is not helpful to dynamicfusion and dynfu.
My CUDA version is 10.2 .

from sobfu.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.