Git Product home page Git Product logo

Comments (6)

fangq avatar fangq commented on July 27, 2024

try the below two things:

  1. type gpuinfo=mcxlab('gpuinfo') and see what matlab outputs
  2. modify the demos script, and reduce your phone number by setting cfg.nphoton to a small number, say 1e3, or 1e4 (or insert cfg.nphoton=1e4 before the mcxlab call), and see if you are getting the same error.

it is likely your driver is not set up or you did not apply the registry fix on a windows host.

http://mcx.space/wiki/index.cgi?Doc/FAQ#I_am_getting_a_kernel_launch_timed_out_error_what_is_that

Update: cross-out the above possibility since mcx does work on your card.

from mcx.

bradday4 avatar bradday4 commented on July 27, 2024

I tried both suggestions,

  1. gpuinfo seems to work fine (see attached output from command).
  2. I modified a demo script with cfg.nphoton=1e4 and received the same error.

I applied the registry fix 'apply_timeout_registry_fix.bat' as administrator and restarted the computer when I initially installed mcx.
gpuinfo.txt

from mcx.

fangq avatar fangq commented on July 27, 2024

Ok, I think this might be due to missing some dlls. Can you Google "dependency walker" and load mcx.mexw64 to see if any dll missing?

from mcx.

Eidantz avatar Eidantz commented on July 27, 2024

I have a similar problem:
MCXLAB ERROR -4 in unit mcx_core.cu:1756: unspecified launch failure
Error from thread (0): unspecified launch failure
C++ Error: MCXLAB Terminated due to an exception!
1.gpuinfo seems to work fine
2. I modified a demo script with cfg.nphoton=1e4 and did not receive any error but if I change it back to 1e7 the error appear again and even if I change the cfg.nphoton=1e4 after the error it won't work again.

I am using Nvidia Geforce 930MX I updated my driver with no help.
Any suggestion?

from mcx.

fangq avatar fangq commented on July 27, 2024

You need to apply the registry fix, see the FAQ link in my reply 3 days ago.

from mcx.

fangq avatar fangq commented on July 27, 2024

@bradday4, did not hear from you, if this issue has been fixed with the registry fix, I will close it. please let me know.

from mcx.

Related Issues (20)

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.