Skip to content
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

unsigned long long in DASH #688

Open
Goon83 opened this issue Feb 3, 2020 · 1 comment
Open

unsigned long long in DASH #688

Goon83 opened this issue Feb 3, 2020 · 1 comment

Comments

@Goon83
Copy link

Goon83 commented Feb 3, 2020

Hi,
Met another problem in DASH. I tried to embed the below code into ArrayUDF. The compiler says that "unsigned long long" is not directly supported in DASH. The conversion to "unsigned long" is required but it fails. Any hint to resolve this ?

Thanks,
Bin

Code:

dash::SizeSpec<2, unsigned long long> dash_size_spec = dash::SizeSpec<2, unsigned long long>();

Error info from compiler:

opt/dash-0.4.0//include/dash/Cartesian.h:197:7: note: candidate
      constructor (the implicit copy constructor) not viable: no known
      conversion from 'SizeSpec<[...], unsigned long long>' to 'const
      SizeSpec<[...], unsigned long>' for 1st argument
class SizeSpec : public CartesianSpace<NumDimensions, SizeType>
@devreal
Copy link
Member

devreal commented Feb 4, 2020

@goon I cannot seem to reproduce this issue:

#include <libdash.h>

int main()
{
  dash::SizeSpec<2, unsigned long long> dash_size_spec = dash::SizeSpec<2, unsigned long long>();
  return 0;
}
$ ~/opt/dash-0.4.0/bin/dash-mpicxx test_sizespec.cc
$ 

What compiler are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants