Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused CUDA kernels #41

Open
una-dinosauria opened this issue Sep 23, 2019 · 0 comments
Open

Remove unused CUDA kernels #41

una-dinosauria opened this issue Sep 23, 2019 · 0 comments
Assignees
Labels

Comments

@una-dinosauria
Copy link
Owner

Some CUDA code is never called from julia, which is confusing, eg

__device__ void _veccost(
float *d_rx, // data to use (X)
float *d_codebooks, // codebooks (C)
unsigned char *d_codes, // the codes (B)
float *d_veccost, // where to save the cost
int m, // number of codebooks
int n) { // number of vectors in X
// FIXME hard-coding 256 entries in each codebook, and 128 dimensions
const int H = 256; // size of each codebook
const int D = 128; // dimensionality of each vector

as reported in #39. We should remove unused code in general.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant