-
Notifications
You must be signed in to change notification settings - Fork 66
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
'J': is not a valid type for non-type template parameter 'J' error in boost\fusion\container\vector\vector.hpp #269
Comments
If you think this is a fusion issue, please post an MVCE (without any dependencies). I have no expertise on the other dependent libraries. |
Has this issue been solved? |
Again, please post an MVCE https://stackoverflow.com/help/minimal-reproducible-example |
Hello, Configurations: MVCE.cu:
Output:
2.Error C2993 'J': is not a valid type for non-type template parameter 'J' CudaRuntime1 C:\Users\benny\Downloads\boost_1_86_0\boost\fusion\container\vector\vector.hpp 236
5.Error C2993 'J': is not a valid type for non-type template parameter 'J' CudaRuntime1 C:\Users\benny\Downloads\boost_1_86_0\boost\fusion\container\vector\vector.hpp 243 6.Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int CudaRuntime1 C:\Users\benny\Downloads\boost_1_86_0\boost\fusion\container\vector\vector.hpp 243 7.Error C2062 type 'unknown-type' unexpected CudaRuntime1 C:\Users\benny\Downloads\boost_1_86_0\boost\fusion\container\vector\vector.hpp 243 The first error refers to the use of a C++ version prior to C++ 20 but I have used C++ 20 and it is the same error. On the other hand, if it is replaced odeint by interval then the code compiles properly.
Output: Finally, this code works properly in Ubuntu using CMake then it is not a general incompatibility between CUDA and BOOST. I hope you can help us with this issue. Thank you so much in advance! Let me know if there is something I can do to help you to fix this error. |
This is not directly a Boost.Fusion issue, and should probably be redirected to Boost.Numeric.Odeint instead. |
Hello: Code using C++ compiler:
Output:
Code using C++ and NVCC:
Output:
|
I am using Visual Studio 2022 and am currently trying to compile the following code:
An error occurs upon compilation using VS22 community edition in
vector.hpp
.Boost Version: 1.81
Platform: Windows 10 64x
This uses Thrust functionality to calculate a large amount of ODEs.
The error is:
What is wrong and can i fix it on my end?
The text was updated successfully, but these errors were encountered: