<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-family: Verdana,Geneva,sans-serif'>
<p>I'm working with inline ips but i'd like use CUDA features, currently I have GTX 1060 on ubuntu 14.04 with cuda toolkit 8.0.</p>
<p>I checked that everything works fine with cuda samples but when I tried to build suricata enabling cuda I get some errors.</p>
<p>util-cuda.c: In function ‘SCCudaPrintDeviceList’:<br />util-cuda.c:1133:60: error: ‘CU_COMPUTEMODE_EXCLUSIVE’ undeclared (first use in this function)<br /> else if (devices->devices[i]->attr_compute_mode == CU_COMPUTEMODE_EXCLUSIVE)<br /> ^<br />util-cuda.c:1133:60: note: each undeclared identifier is reported only once for each function it appears in<br />make[3]: *** [util-cuda.o] Error 1<br />make[3]: se sale del directorio «/home/wdips/oisf/src»<br />make[2]: *** [all] Error 2<br />make[2]: se sale del directorio «/home/wdips/oisf/src»<br />make[1]: *** [all-recursive] Error 1<br />make[1]: se sale del directorio «/home/wdips/oisf»<br />make: *** [all] Error 2</p>
<p>I've tried change compute mode to default mode: <br />nvidia-smi -i 0 -c 0</p>
<p><br />however that can't solve it.</p>
</body></html>