Actions
Bug #1019
closedCUDA build fails on 4.2 runtime
Status:
Closed
Priority:
Low
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:
Description
After adding the 3.5 support here https://github.com/inliniac/suricata/pull/596, CUDA no longer builds on the 4.2 runtime
nvcc fatal : Value 'sm_35' is not defined for option 'gpu-architecture' make[2]: *** [util-mpm-ac-cuda-kernel.ptx_sm_35] Error 255
I guess my CUDA env is too old.
I would like it to work correctly with the one that came with my Ubuntu version though. Can we somehow detect the version supported by nvcc?
My env:
$ nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2012 NVIDIA Corporation Built on Thu_Apr__5_00:24:31_PDT_2012 Cuda compilation tools, release 4.2, V0.2.1221
Actions