Skip to content

Recommended way to develop a cupy wrapper for an original cuda kernel #1258

@fiarabbit

Description

@fiarabbit

I'm a NN developer who want to transport a pytorch Module (https://github.com/jonas-koehler/s2cnn) to chainer.

The original Module uses a homemade kernel, wrapped by pynvrtc and cupy.cuda.function.Module.get_function().

In searching information for the transportation, I found a PR which refer not to use pynvrtc in cupy.
#33 (comment)

My question is which is the better to use pynvrtc or cupy.cuda.compiler to create an original kernel used for chainer.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions