Skip to content

About mutliprocess #27

@zsy0828

Description

@zsy0828

Hi, i have create a class which use to sample graph node, the code include ThrusrRTC and CURandRTC. When i put it in multiprocessing.spawn(func, args=('myclass')), I got error.
ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle '_cffi_backend._CDataBase' object
I have write demo in https://github.com/zsy0828/trtc_question.
If you have spare time, could you tell me how to let it work in multiprocess, thank a lot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions