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

CPU async causing crashes on gcc 4.8.1 #1378

Closed
FilipeMaia opened this issue Apr 6, 2016 · 10 comments
Closed

CPU async causing crashes on gcc 4.8.1 #1378

FilipeMaia opened this issue Apr 6, 2016 · 10 comments

Comments

@FilipeMaia
Copy link
Contributor

See arrayfire/arrayfire-python#75.

@pavanky
Copy link
Member

pavanky commented Apr 6, 2016

@FilipeMaia What is the gcc version being used on the travis instance ?

@FilipeMaia
Copy link
Contributor Author

g++-4.8 amd64 4.8.1-2ubuntu1~12.04

@pavanky
Copy link
Member

pavanky commented Apr 6, 2016

@FilipeMaia We've noticed failures on older versions of gcc. From what I remember gcc-4.8.2 was causing failures but gcc-4.8.4 was working fine.

Is there anyway the gcc version on the travis instance can be upgraded?

@FilipeMaia
Copy link
Contributor Author

It might be, I'll see if I can get it.

@FilipeMaia
Copy link
Contributor Author

It could be the gcc version. I couldn't get 4.8.4, but I'm trying 4.9.2 and I have 2 runs and no seg faults yet.

@pavanky
Copy link
Member

pavanky commented Apr 6, 2016

@FilipeMaia Let me know if it breaks, I can reopen the issue. If not we'll close it as a known problem for older versions of gcc.

@pavanky pavanky closed this as completed Apr 6, 2016
@pavanky pavanky changed the title CPU async causing crashes CPU async causing crashes on gcc 4.8.1 Apr 6, 2016
@FilipeMaia
Copy link
Contributor Author

Pretty sure it's a gcc problem. 10 build/runs and no problems with the new gcc. It would be nice to have cmake spit out a warning for such issues.

@pavanky
Copy link
Member

pavanky commented Apr 6, 2016

@FilipeMaia Thanks for the suggestion.

@shehzan10 any chance we can have a warning based on gcc version < 4.8.4 saying that CPU async fails intermittently and ask the user to turn async off ?

@shehzan10
Copy link
Member

Yeah we could probably do that.

@shehzan10
Copy link
Member

I'm not entirely sure if ArrayFire built with Async on GCC >= 4.8.4 will run fine on systems with older GCC. Might need to test this one.

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

3 participants