CUDA | FSU Research Computing Center
文章推薦指數: 80 %
The GPUs currently available are NVIDIA GeForce GTX1080 Ti, which is of the Pascal micro-architecture, and of compute capability 6.1. The CUDA driver ...
Home
SoftwareLibrary
CUDA
CUDA
HomepageLink(URL)
Homepage
SoftwareCategory
ProgrammingLanguagesandCompilers
Version
11.1
CUDA
ScientificsimulationscanoftenbesignificantlyacceleratedbyhardwareacceleratorssuchasGraphicsProcessingUnits(GPUs).GPUs areavailableonseveral HPCnodes. TheGPUscurrentlyavailableareNVIDIAGeForceGTX1080Ti,whichisofthePascal micro-architecture,andofcomputecapability6.1. TheCUDAdriverversionis11.1. ThefollowingtableshowsthekeyparamtersoftheGPUattheRCC:
BrandName
GTX1080Ti
ComputeCapability
6.1
Micro-Architecture
Pascal
NumberStreamMulti-Processors
28
NumberofCUDACores
3584
BoostClock
1600MHZ
MemoryCapacity
11GB
MemoryBandwidth
~484GBs
FP32TFLOPS
~11.4TFLOPS
NoteaboutCUDAAvailability
TheCUDAModule,CUDALibrariesandNVIDIACUDACompilersareonlyavailableontheloginnodes,theSpearnodesandtheGPUnodes,notthecomputenodes.
CompileCUDAcode
TocompileCUDA/C/C++code,firstloadthecudamodule
$moduleloadcuda/11.1
Thecudacompilernvccshouldbeimmediatelyavailable,
$whichnvcc
/usr/local/cuda-11.1/bin/nvcc
andyoucancheckthecudaversionvia
$nvcc-V
nvcc:NVIDIA(R)Cudacompilerdriver
Copyright(c)2005-2020NVIDIACorporation
BuiltonMon_Oct_12_20:09:46_PDT_2020
Cudacompilationtools,release11.1,V11.1.105
Buildcuda_11.1.TC455_06.29190527_0
Youcanthen compileyourcuda/c/c++codeviathecuda nvcc compiler
$nvcc-O3-archsm_61-oa.outa.cuIntheabove,the compileroption"-archsm_61"specifythecomputecapability6.1forthePascalmicro-architecture.
SubmitaCUDAJob
Tosubmita GPUjobtotheHPCcluster,first createaSLURMsubmitscriptsub.sh similartothefollowing
#!/bin/bash
#SBATCH-N1
#SBATCH-n1
#SBATCH-J"cuda-job"
#SBATCH-t4:00:00
#SBATCH-pbackfill
#SBATCH--gres=gpu:1
#SBATCH--mail-type=ALL
#loadthecudamoduletosetuptheenvironment
moduleloadcuda/11.1
#thefollowinglineshouldprovidethefullpathtothecudacompiler
whichnvcc
#executeyourcudaexecutablea.out
srun-n1./a.out
延伸文章資訊
- 1[Tutorial CUDA] Nvidia GPU: CUDA Compute Capability
When you are compiling CUDA code for Nvidia GPUs it's important to know which is the Compute Capa...
- 2CUDA FAQ | NVIDIA Developer
The compute capability of a GPU determines its general specifications and available features. For...
- 3Compute Capability - Cornell Virtual Workshop
Understanding GPU Architecture: Compute Capability ... Are you thinking about writing CUDA progra...
- 4NVIDIA GPU的计算能力Compute Capability 一览 - CSDN博客
1) CUDA-Enabled Tesla Products Tesla Workstation Products GPU Compute Capability Tesla K80 3.7 Te...
- 5CUDA GPUs | NVIDIA Developer
Are you looking for the compute capability for your GPU, then check the tables below. You can lea...