# Nvcc fatal : Unsupported gpu architecture 'compute\_35'

**URL:** <https://forums.developer.nvidia.com/t/nvcc-fatal-unsupported-gpu-architecture-compute-35/247815>\
**Category:** CUDA Programming and Performance\
**Tags:** cuda, nvidia-smi\
**Created:** [March 28, 2023, 2:34pm UTC](https://forums.developer.nvidia.com/t/nvcc-fatal-unsupported-gpu-architecture-compute-35/247815 "2023-03-28T14:34:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Robert\_Crovella](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/robert_crovella/32/14043_2.png) [@Robert\_Crovella](https://forums.developer.nvidia.com/u/Robert_Crovella)\
**Post date:** [March 28, 2023, 2:50pm UTC](https://forums.developer.nvidia.com/t/nvcc-fatal-unsupported-gpu-architecture-compute-35/247815/2 "2023-03-28T14:50:47Z")

</div>

CUDA 12.x has dropped support for Kepler compute 3.x devices.

The minimum supported compute capability is 5.0 in CUDA 12.

If you require support for cc3.5, you will need to use an older CUDA version, however your GTX 1070 is a cc6.1 device and it is supported by CUDA 12. If you want to tackle it that way (recommended), then look thru your project build system (CMakeLists.txt, etc.) and find out where/how compute 3.5 (compute\_35) is being requested and try changing that to cc 61 (compute\_61).

I won’t be able to help with cmake questions.

---

_[View the full topic](https://forums.developer.nvidia.com/t/nvcc-fatal-unsupported-gpu-architecture-compute-35/247815)._
