-
Notifications
You must be signed in to change notification settings - Fork 14
CUDA Errors #5
Copy link
Copy link
Open
Description
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
makeI 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels