You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I try to make the library with --with-cuda option, but the make failed as follows:
`spctr_offload.cxx(77): error: no instance of overloaded function "CTF_int::spctr::est_time_rec" matches the argument list
argument types are: (int, double, double, double)
object type is: CTF_int::spctr
return rec_ctr->est_time_rec(nlyr, nnz_frac_A, nnz_frac_B, nnz_frac_C) + est_time_fp(nlyr, nnz_frac_A, nnz_frac_B, nnz_frac_C);
^
spctr_tsr.h(47): note: this candidate was rejected because mismatch in count of arguments
double est_time_rec(int nlyr){ return est_time_rec(nlyr, 1, 1, 1, 1.0, 1.0, 1.0); }
^
spctr_tsr.h(46): note: this candidate was rejected because mismatch in count of arguments
virtual double est_time_rec(int nlyr, int nblk_A, int nblk_B, int nblk_C, double nnz_frac_A, double nnz_frac_B, double nnz_frac_C){ return 0.0; }
^
spctr_offload.cxx(80): error: declaration is incompatible with "int64_t={long} CTF_int::spctr_offload::spmem_fp()" (declared at line 45 of "spctr_offload.h")
int64_t spctr_offload::spmem_fp(double nnz_frac_A, double nnz_frac_B, double nnz_frac_C){
^
spctr_offload.cxx(85): error #140: too many arguments in function call
return rec_ctr->mem_rec(nnz_frac_A, nnz_frac_B, nnz_frac_C) + spmem_fp(nnz_frac_A, nnz_frac_B, nnz_frac_C);
^
spctr_offload.cxx(85): error #140: too many arguments in function call
return rec_ctr->mem_rec(nnz_frac_A, nnz_frac_B, nnz_frac_C) + spmem_fp(nnz_frac_A, nnz_frac_B, nnz_frac_C);`
The compiler is intel 2019, with mkl and cuda 10.0. The system is CentOS 7. Thank you very much for your help.
The text was updated successfully, but these errors were encountered:
Hi, I try to make the library with
--with-cuda
option, but the make failed as follows:`spctr_offload.cxx(77): error: no instance of overloaded function "CTF_int::spctr::est_time_rec" matches the argument list
argument types are: (int, double, double, double)
object type is: CTF_int::spctr
return rec_ctr->est_time_rec(nlyr, nnz_frac_A, nnz_frac_B, nnz_frac_C) + est_time_fp(nlyr, nnz_frac_A, nnz_frac_B, nnz_frac_C);
^
spctr_tsr.h(47): note: this candidate was rejected because mismatch in count of arguments
double est_time_rec(int nlyr){ return est_time_rec(nlyr, 1, 1, 1, 1.0, 1.0, 1.0); }
^
spctr_tsr.h(46): note: this candidate was rejected because mismatch in count of arguments
virtual double est_time_rec(int nlyr, int nblk_A, int nblk_B, int nblk_C, double nnz_frac_A, double nnz_frac_B, double nnz_frac_C){ return 0.0; }
^
spctr_offload.cxx(80): error: declaration is incompatible with "int64_t={long} CTF_int::spctr_offload::spmem_fp()" (declared at line 45 of "spctr_offload.h")
int64_t spctr_offload::spmem_fp(double nnz_frac_A, double nnz_frac_B, double nnz_frac_C){
^
spctr_offload.cxx(85): error #140: too many arguments in function call
return rec_ctr->mem_rec(nnz_frac_A, nnz_frac_B, nnz_frac_C) + spmem_fp(nnz_frac_A, nnz_frac_B, nnz_frac_C);
^
spctr_offload.cxx(85): error #140: too many arguments in function call
return rec_ctr->mem_rec(nnz_frac_A, nnz_frac_B, nnz_frac_C) + spmem_fp(nnz_frac_A, nnz_frac_B, nnz_frac_C);`
The compiler is intel 2019, with mkl and cuda 10.0. The system is CentOS 7. Thank you very much for your help.
The text was updated successfully, but these errors were encountered: