ledatelescope / bifrost

A stream processing framework for high-throughput applications.
BSD 3-Clause "New" or "Revised" License
66 stars 29 forks source link

__builtin_ia32_mwaitx undefined #108

Closed sherandoresearch closed 6 years ago

sherandoresearch commented 6 years ago

I am on Ubuntu 16.04 using gcc 5.3 and CUDA 7.5 and get the error that __builtin_ia32_mwaitx is undefined. I have not made any changes to the user.mk file except to GPU_ARCHS line. Is there a recommended version of CUDA and gcc? Thanks

sherandoresearch commented 6 years ago

Updated to CUDA 8 (9 seems too new for now). That seemed to fixed the problem. I read somewhere that there is a gcc 5.x compatibility bug with CUDA 7.5.

MilesCranmer commented 6 years ago

Hi @sherandoresearch, strange that this didn't work. What was the full error? Was it during the install or test stage?

I have also had some problems with CUDA versions less than 8 in the past. It's good to hear that CUDA 8 is now working for you.

I have also just added a note about this in the docs, thanks for letting us know.