Skip to content

CUDA Errors #5

@r-barnes

Description

@r-barnes

After compiling the code with

./configure.sh $CUDA_HOME
make GPU_SM_ARCH=sm_60 MAX_QUERY_LEN=1024 N_CODE=0x4E
cd test_prog
make

I run:

./test_prog -p -y local query_batch.fasta target_batch.fasta

This raises several CUDA errors that I can suppress by commenting out the following lines:

res.cpp:157: if (res->n_cigar_ops != NULL) CHECKCUDAERROR(cudaFreeHost(res->n_cigar_ops));
res.cpp:173: if (device_cpy->cigar != NULL) CHECKCUDAERROR(cudaFree(device_cpy->cigar));
ctors.cpp:165: if (gpu_storage_vec->a[i].host_res->cigar != NULL) CHECKCUDAERROR(cudaFreeHost(gpu_storage_vec->a[i].host_res->cigar));

All of the error messages read the same:

[GASAL CUDA ERROR:] invalid argument(CUDA error no.=1). Line no. 157 in file ../src/res.cpp

It looks like there might be an issue with allocating/deallocating CIGAR storage.

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