Skip to content

Confusing example #66

Open
Open
@henryco

Description

@henryco

cuda.cuModuleLoadData( module, new BytePointer(VECTOR_ADD_PTX) );

This example (line 52) is confusing because method cuModuleLoadData expects path to the .ptx file, not string with file itself which causes error 301 CUDA_ERROR_FILE_NOT_FOUND.
It took me a while to realize that it was a bug in the example and not in my code

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions