You are not logged in.

#1 2023-06-18 16:28:59

D3vil0p3r
Member
Registered: 2022-11-05
Posts: 205

[SOLVED] CUDA - What is used for and how to set in Arch Linux

Hello, my computer has an NVIDIA GPU and I was digging about CUDA. I read the NVIDIA CUDA page but, practically, I don't understand well if CUDA is used only for developers to develop responsive and fast applications, or it is useful also for standard NVIDIA users. So, what is CUDA and for what is used? Is it useful for standard NVIDIA users?

If it is useful, the configuration of CUDA in Arch Linux is based only on the installation of "cuda" package or it needs a specific configuration?

Last edited by D3vil0p3r (2023-06-18 20:25:28)

Offline

#2 2023-06-18 16:37:28

//////
Member
From: Finland
Registered: 2019-11-30
Posts: 44

Re: [SOLVED] CUDA - What is used for and how to set in Arch Linux

for example it is used for password cracking.
https://medium.com/geekculture/cracking … ad558e9e08

there is more uses for it but i dont know what those are.

EDIT: i installed it like this :

pacman -S cuda-tools

and if you want to try the strength of your passwords you can install hashcat

Last edited by ////// (2023-06-18 17:12:22)


[AMD Ryzen 9 5900X] [ROG STRIX X570-F GAMING] [GeForce RTX 4060 Ti] [Ram 48GB] [ASUSTek Xonar SoundCard]

Offline

#3 2023-06-18 16:40:48

//////
Member
From: Finland
Registered: 2019-11-30
Posts: 44

Re: [SOLVED] CUDA - What is used for and how to set in Arch Linux

i asked google bard and this was the answer :

CUDA cores are used for a variety of tasks, including:

Graphics processing: CUDA cores are used to render 3D graphics in real time. This includes tasks such as shading, texturing, and lighting.
Machine learning: CUDA cores can be used to train and run machine learning models. This includes tasks such as image classification, natural language processing, and speech recognition.
Scientific computing: CUDA cores can be used to run scientific simulations. This includes tasks such as fluid dynamics, weather forecasting, and climate modeling.
Cryptocurrency mining: CUDA cores can be used to mine for cryptocurrency. This is a computationally intensive process that requires a lot of processing power.
The number of CUDA cores in a GPU is an important factor to consider when choosing a graphics card for a particular task. More CUDA cores generally means better performance for tasks that can be parallelized.

Here are some examples of how CUDA cores are used in different applications:

In gaming, CUDA cores are used to render the game world, characters, and objects in real time. This allows for smoother gameplay and more realistic graphics.
In machine learning, CUDA cores can be used to train and run machine learning models. This allows for faster and more accurate results.
In scientific computing, CUDA cores can be used to run scientific simulations. This allows for more accurate and realistic results.
In cryptocurrency mining, CUDA cores can be used to solve complex mathematical problems that are used to create new blocks in the blockchain. This allows for faster mining and more profits.
CUDA cores are a powerful tool that can be used to accelerate a wide variety of tasks. If you are looking for a graphics card that can handle demanding tasks such as gaming, machine learning, or scientific computing, then a GPU with a high number of CUDA cores is a good option.


[AMD Ryzen 9 5900X] [ROG STRIX X570-F GAMING] [GeForce RTX 4060 Ti] [Ram 48GB] [ASUSTek Xonar SoundCard]

Offline

#4 2023-06-18 17:35:02

D3vil0p3r
Member
Registered: 2022-11-05
Posts: 205

Re: [SOLVED] CUDA - What is used for and how to set in Arch Linux

So does not CUDA need any specific configuration after install?

Offline

#5 2023-06-18 18:10:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,695

Re: [SOLVED] CUDA - What is used for and how to set in Arch Linux

https://en.wikipedia.org/wiki/CUDA

Is it useful for standard NVIDIA users?

If you mean whether you need that to make pixels colorful: no.
Otherwise see https://archlinux.org/packages/extra/x86_64/cuda/
If it's not even an optional dependency for anything you use, you don't need it either.

CUDA doesn't need any condiguration, but the tools that you want to utilize it might,

tl;dr: if you don't even know what it is, you don't need it.

Offline

#6 2023-06-18 18:52:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,484
Website

Re: [SOLVED] CUDA - What is used for and how to set in Arch Linux

Hey seth, I heard chainsaws were really powerful tools and could make light work of removing tree branches.  If I order a chainsaw on amazon and have it delivered to my door, does it need any configuration?  Like, do I need to take it out of the box or something?  Or will just having the package here make unwanted branches of trees fall off and move to the landfill?  And if I don't need to open the box for all these benefits I've heard associated with chainsaws, does it matter if I store the unopened box in the garage or the basement?  Will it work just as well either way?

Oh, by the way, I don't actually have any trees in my yard.  Will that matter?  Chainsaws are still cool to have, right?

Last edited by Trilby (2023-06-18 21:06:37)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2023-06-18 18:58:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,695

Offline

#8 2023-06-18 20:25:06

D3vil0p3r
Member
Registered: 2022-11-05
Posts: 205

Re: [SOLVED] CUDA - What is used for and how to set in Arch Linux

-.- btw thank you for the information guys.

@seth y, I was reading some third-party tools need some configuration. Thanks again.

Offline

#9 2023-06-19 04:30:11

tdtooke
Member
Registered: 2023-04-11
Posts: 245

Re: [SOLVED] CUDA - What is used for and how to set in Arch Linux

If you play chess CUDA can become essential.  By far the best build of Leela Chess Zero is the CUDA build.

Offline

Board footer

Powered by FluxBB