inducer / inducer/pycuda

issue with pycuda and multiprocessing

Open
#137 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.1k
Forks
298
Avg merge
4m
Merged PRs (30d)
1

Description

I created a simple gist that exposes an error for me on some machines and not others. It init's the driver, then spawns a child process and init's the driver there.
https://gist.github.com/wconstab/f06362277a6235aa87bdc4235bfde731

Running `py.test test_pycuda_multi.py` on some machines causes this error in the child process:

> LogicError: cuInit failed: initialization error

There are differences in [OS, docker being used or not, py2/3, nvidia driver] between the machines where this gist works or crashes, so I won't attempt to label it as specific to one configuration.

It would be helpful to know whether this should work or is expected to be undefined.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.