Project

General

Profile

Actions

Bug #1019

closed

CUDA build fails on 4.2 runtime

Added by Victor Julien over 10 years ago. Updated about 8 years ago.

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 #1

Updated by Victor Julien over 10 years ago

  • Subject changed from CUDA build fails on to CUDA build fails on 4.2 runtime
Actions #2

Updated by Victor Julien over 10 years ago

Coverity builds have CUDA disabled for now.

Actions #3

Updated by Victor Julien over 10 years ago

  • Priority changed from Normal to Low
  • Target version changed from 2.0beta2 to TBD
Actions #4

Updated by Victor Julien about 8 years ago

  • Status changed from New to Closed
  • Assignee deleted (OISF Dev)
  • Target version deleted (TBD)

Only supporting CUDA 7.5 at this time.

Actions

Also available in: Atom PDF