Skip to content

DeviceRadixSort::SortPairs(0): invalid device function #2

Description

I get an error at runtime.

Looks like a dependency to CUB is needed? Or is it thrust?

cuda@ale-i5:~/Desktop/douggard$ ./a.out 
INDICES_PER: 2
HASH_LEN: 50
CBIT_LEN: 20
Generating 1048576 hashes...
ERROR: invalid device function 
Expanded size * 5: 314572800
Expanded size: 62914560
terminate called after throwing an instance of 'thrust::system::system_error'
  what():  after cub_::DeviceRadixSort::SortPairs(0): invalid device function

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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