josephjaspers / blackcat_tensors

Matrix-Vector Library Designed for Neural Network Construction. cuda (gpu) support, openmp (multithreaded cpu) support, partial support of BLAS, expression template based implementation PTX code generation identical to hand written kernels, and support for auto-differentiation
12 stars 4 forks source link

new code compile error! #58

Open xinsuinizhuan opened 4 years ago

xinsuinizhuan commented 4 years ago

图片 address: tree_evaluator.h file, in line 122 compile error: tree_evaluator.h(123,1): error C2975: '_Test': invalid template argument for 'std::conditional_t', expected compile-time constant expression

josephjaspers commented 4 years ago

Thank you!

I will try to fix it when I get back. I have been working on a bug in the convolution layer. Afterwards I will fix the device_tag for Windows and than I will add attention lstm.

josephjaspers commented 4 years ago

Haven't tested, though I am pretty sure this fixes the issue. Will test it tonight.

https://github.com/josephjaspers/blackcat_tensors/commit/b8c4bf1294a7da4c472df938796a9a79d731488f

xinsuinizhuan commented 4 years ago

I have tested it, it is ok, Thank you very much. Expected vs cuda error fixed!

josephjaspers commented 4 years ago

Working on the VS cuda issues still, hopefully will be finished soon