Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-samples
/ functions
Functions
2,694 in github.com/NVIDIA/cuda-samples
⨍
Functions
2,694
◇
Types & classes
482
↓ 1 callers
Function
nv12ToBGRandBGRresize
1. convert nv12 to bgr 3 progressive planars 2. resize bgr 3 planars to target size */
cpp/5_Domain_Specific/NV12toBGRandResize/resize_convert_main.cpp:346
↓ 1 callers
Function
pagerank_cpu
Compute PageRank on CPU using iterative method. Parameters ---------- sources : np.ndarray Source nodes of edges destina
python/2_CoreConcepts/pageRank/pageRank.py:119
↓ 1 callers
Function
parentProcess
cpp/3_CUDA_Features/memMapIPCDrv/memMapIpc.cpp:434
↓ 1 callers
Function
parseCmdLine
Parse the command line options. Returns FAILURE on a parse error, SUCCESS otherwise.
cpp/2_Concepts_and_Techniques/EGLStream_CUDA_CrossGPU/helper.h:44
↓ 1 callers
Function
parseCmdLine
cpp/5_Domain_Specific/NV12toBGRandResize/resize_convert_main.cpp:110
↓ 1 callers
Function
parseCompilerBackendArgs
cpp/9_CUDA_Tile/tileMatmulAutotuner/matmul_autotuner.cpp:88
↓ 1 callers
Function
parseCompilerBackendValue
cpp/9_CUDA_Tile/tileMatmulAutotuner/matmul_autotuner.cpp:69
↓ 1 callers
Function
parsePositiveInt
cpp/9_CUDA_Tile/tileMatmulAutotuner/backend_common.h:178
↓ 1 callers
Function
parse_args
()
python/2_CoreConcepts/persistentProgramCache/persistentProgramCache.py:367
↓ 1 callers
Function
parse_benchmark_args
Parse command line options. Call from main() before benchmarks.
cpp/9_CUDA_Tile/Benchmark_Common/benchmark.h:60
↓ 1 callers
Function
parse_split
Parse the --split "A,B" CLI argument and validate it against the device. Returns (long_count, critical_count).
python/2_CoreConcepts/greenContext/greenContext.py:213
↓ 1 callers
Function
phillips
Phillips spectrum (Kx, Ky) - normalized wave vector Vdir - wind angle in radians V - wind speed A - constant
cpp/4_CUDA_Libraries/oceanFFT/oceanFFT.cpp:350
↓ 1 callers
Function
plotCurve
cpp/5_Domain_Specific/bicubicTexture/bicubicTexture.cpp:197
↓ 1 callers
Method
pop
cpp/2_Concepts_and_Techniques/interval/cpu_interval.h:72
↓ 1 callers
Function
pow_dn
cpp/2_Concepts_and_Techniques/interval/boost/numeric/interval/arith2.hpp:121
↓ 1 callers
Function
pow_up
cpp/2_Concepts_and_Techniques/interval/boost/numeric/interval/arith2.hpp:135
↓ 1 callers
Method
print
cpp/5_Domain_Specific/nbody/nbody.cpp:120
↓ 1 callers
Method
print
cpp/8_Platform_Specific/Tegra/nbody_opengles/nbody_opengles.cpp:115
↓ 1 callers
Function
printAllResultsInVerboseMode
cpp/6_Performance/UnifiedMemoryPerf/helperFunctions.cpp:226
↓ 1 callers
Function
printCompilerOptions
cpp/9_CUDA_Tile/tileMatmulAutotuner/matmul_autotuner.cpp:82
↓ 1 callers
Function
printHelp
cpp/2_Concepts_and_Techniques/boxFilter/boxFilter.cpp:534
↓ 1 callers
Function
printHelp
cpp/5_Domain_Specific/NV12toBGRandResize/resize_convert_main.cpp:92
↓ 1 callers
Function
printHelp
cpp/5_Domain_Specific/volumeFiltering/volumeFiltering.cpp:698
↓ 1 callers
Function
printHelp
cpp/5_Domain_Specific/bicubicTexture/bicubicTexture.cpp:710
↓ 1 callers
Function
printTensorDesc
cpp/8_Platform_Specific/Tegra/cuDLALayerwiseStatsStandalone/main.cpp:47
↓ 1 callers
Function
printTensorDesc
cpp/8_Platform_Specific/Tegra/cuDLAStandaloneMode/main.cpp:42
↓ 1 callers
Function
printTimesInTableFormat
cpp/6_Performance/UnifiedMemoryPerf/helperFunctions.cpp:203
↓ 1 callers
Function
print_cache_report
(result: CacheResult)
python/2_CoreConcepts/persistentProgramCache/persistentProgramCache.py:246
↓ 1 callers
Function
print_device_info
(device: "system.Device")
python/1_GettingStarted/systemInfo/systemInfo.py:98
↓ 1 callers
Function
print_device_info
Print detailed information for a single CUDA device. Uses device.properties (cuda.core) for most fields; cuda.bindings for runtime versio
python/1_GettingStarted/deviceQuery/deviceQuery.py:128
↓ 1 callers
Function
print_device_info
device information
cpp/9_CUDA_Tile/Benchmark_Common/benchmark.h:115
↓ 1 callers
Function
print_driver_info
()
python/1_GettingStarted/systemInfo/systemInfo.py:73
↓ 1 callers
Function
print_gpu_info
Print GPU information relevant to launch configuration.
python/2_CoreConcepts/launchConfigTuning/launchConfigTuning.py:171
↓ 1 callers
Function
print_p2p_access_info
Print peer-to-peer access information for multi-GPU systems. Parameters ---------- devices : tuple of Device Tuple of CUDA d
python/1_GettingStarted/deviceQuery/deviceQuery.py:289
↓ 1 callers
Function
print_property
Helper function to print device properties with aligned formatting. Parameters ---------- label : str Property label val
python/1_GettingStarted/deviceQuery/deviceQuery.py:47
↓ 1 callers
Function
print_result
result printing
cpp/9_CUDA_Tile/Benchmark_Common/benchmark.h:195
↓ 1 callers
Function
print_results
(results: List[ScenarioResult])
python/2_CoreConcepts/greenContext/greenContext.py:550
↓ 1 callers
Function
print_sm_topology
(device: Device)
python/2_CoreConcepts/greenContext/greenContext.py:109
↓ 1 callers
Function
print_timings
(timings: List[StepTiming])
python/2_CoreConcepts/processCheckpoint/processCheckpoint.py:175
↓ 1 callers
Function
print_topology
(devices: list)
python/1_GettingStarted/systemInfo/systemInfo.py:152
↓ 1 callers
Function
process
/////////////////////////////////////////////////////////////////////////// Run the Cuda part of the computation /////////////////////////////////////
cpp/5_Domain_Specific/postProcessGL/main.cpp:209
↓ 1 callers
Function
processImage
copy image and process using CUDA
cpp/5_Domain_Specific/postProcessGL/main.cpp:357
↓ 1 callers
Function
ptxJIT
cpp/3_CUDA_Features/ptxjit/ptxjit.cpp:96
↓ 1 callers
Function
push
(c: int)
python/2_CoreConcepts/greenContext/greenContext.py:176
↓ 1 callers
Function
quat_conj
cpp/5_Domain_Specific/vulkanImageCUDA/linmath.h:490
↓ 1 callers
Function
quat_conj
cpp/5_Domain_Specific/simpleVulkan/linmath.h:491
↓ 1 callers
Function
quat_mul
cpp/5_Domain_Specific/vulkanImageCUDA/linmath.h:466
↓ 1 callers
Function
quat_mul
cpp/5_Domain_Specific/simpleVulkan/linmath.h:467
↓ 1 callers
Function
quat_mul_vec3
cpp/5_Domain_Specific/vulkanImageCUDA/linmath.h:498
↓ 1 callers
Function
quat_mul_vec3
cpp/5_Domain_Specific/simpleVulkan/linmath.h:499
↓ 1 callers
Function
query_devices
Query and display information about all CUDA devices. Parameters ---------- show_p2p : bool Whether to show peer-to-peer acc
python/1_GettingStarted/deviceQuery/deviceQuery.py:317
↓ 1 callers
Function
randCircle
random point in circle
cpp/5_Domain_Specific/smokeParticles/ParticleSystem.cpp:169
↓ 1 callers
Function
randData
/////////////////////////////////////////////////////////////////////////// Helper function, returning uniformly distributed random float in [low, hig
cpp/5_Domain_Specific/binomialOptions/binomialOptions.cpp:65
↓ 1 callers
Function
randFloat
/////////////////////////////////////////////////////////////////////////// Common functions /////////////////////////////////////////////////////////
cpp/5_Domain_Specific/MonteCarloMultiGPU/MonteCarloMultiGPU.cpp:57
↓ 1 callers
Function
randSphere
random point in sphere
cpp/5_Domain_Specific/smokeParticles/ParticleSystem.cpp:181
↓ 1 callers
Function
randomInit
/////////////////////////////////////////////////////////////////////////// Allocates a matrix with random float entries /////////////////////////////
cpp/0_Introduction/matrixMulDynlinkJIT/matrixMulDynlinkJIT.cpp:80
↓ 1 callers
Function
randomizeBodies
cpp/5_Domain_Specific/nbody/bodysystem.h:133
↓ 1 callers
Function
randomizeBodies
cpp/8_Platform_Specific/Tegra/nbody_opengles/bodysystem.h:133
↓ 1 callers
Function
reCreate
cpp/4_CUDA_Libraries/randomFog/randomFog.cpp:347
↓ 1 callers
Function
readAndCompileShaderFromGLSLFile
cpp/8_Platform_Specific/Tegra/fluidsGLES/fluidsGLES.cpp:189
↓ 1 callers
Function
readFile
cpp/5_Domain_Specific/simpleVulkan/VulkanBaseApp.cpp:1899
↓ 1 callers
Function
readFile
cpp/5_Domain_Specific/simpleVulkanMMAP/VulkanBaseApp.cpp:1787
↓ 1 callers
Function
reduce_cpu
Compute sum using Kahan summation for numerical accuracy.
python/2_CoreConcepts/reduction/reduction.py:190
↓ 1 callers
Function
reduce_custom
Perform parallel reduction using custom CUDA kernel. Uses multiple kernel launches to reduce array to single value. Each launch reduces
python/2_CoreConcepts/parallelReduction/parallelReduction.py:132
↓ 1 callers
Function
render
render image using CUDA
cpp/0_Introduction/simpleTexture3D/simpleTexture3D.cpp:131
↓ 1 callers
Function
render
render image using CUDA
cpp/3_CUDA_Features/bindlessTexture/bindlessTexture.cpp:123
↓ 1 callers
Function
render
render image using CUDA
cpp/5_Domain_Specific/volumeFiltering/volumeFiltering.cpp:219
↓ 1 callers
Method
render
cpp/5_Domain_Specific/smokeParticles/SmokeRenderer.cpp:373
↓ 1 callers
Function
renderIsosurface
/////////////////////////////////////////////////////////////////////////// Render isosurface geometry from the vertex buffers ///////////////////////
cpp/5_Domain_Specific/marchingCubes/marchingCubes.cpp:864
↓ 1 callers
Function
renderScene
cpp/5_Domain_Specific/smokeParticles/particleDemo.cpp:195
↓ 1 callers
Function
renderScene
/////////////////////////////////////////////////////////////////////////// render a simple 3D scene /////////////////////////////////////////////////
cpp/5_Domain_Specific/postProcessGL/main.cpp:325
↓ 1 callers
Function
report_speedup
Print three headline numbers that put the raw scenario timings in context:
python/2_CoreConcepts/greenContext/greenContext.py:575
↓ 1 callers
Method
reset
/////////////////////////////////////////////////////////////////////////// Reset the timer to 0. Does not change the timer running state but does rec
Common/helper_timer.h:186
↓ 1 callers
Method
resetDimensions
cpp/4_CUDA_Libraries/randomFog/rng.cpp:249
↓ 1 callers
Method
resetSeed
cpp/4_CUDA_Libraries/randomFog/rng.cpp:225
↓ 1 callers
Function
reshape
cpp/4_CUDA_Libraries/randomFog/randomFog.cpp:273
↓ 1 callers
Function
reshape
cpp/5_Domain_Specific/fluidsGL/fluidsGL.cpp:327
↓ 1 callers
Function
round_up
cpp/0_Introduction/vectorAddMMAP/multidevicealloc_memmap.cpp:30
↓ 1 callers
Function
rsqrtf
Common/helper_math.h:78
↓ 1 callers
Function
run
Run single-pass multi-block reduction benchmark.
python/2_CoreConcepts/reductionMultiBlockCG/reductionMultiBlockCG.py:197
↓ 1 callers
Function
run
Zero-copy vector add: map host memory, launch kernel with device pointers, validate on CPU. This function shows how to: 1. Allocate
python/2_CoreConcepts/simpleZeroCopy/simpleZeroCopy.py:97
↓ 1 callers
Function
run
Run two-stage reduction benchmark.
python/2_CoreConcepts/reduction/reduction.py:218
↓ 1 callers
Function
run
(n)
python/1_GettingStarted/numpyVsCupy/numpyVsCupy.py:80
↓ 1 callers
Function
run
Main execution function
python/1_GettingStarted/kernelNsysProfile/kernelNsysProfile.py:132
↓ 1 callers
Function
run
Demonstrates peer-to-peer (P2P) memory access between multiple GPUs using cuda.core. This function shows how to: 1. Detect and verify mu
python/4_DistributedComputing/simpleP2P/simpleP2P.py:68
↓ 1 callers
Function
runAutoTest
cpp/2_Concepts_and_Techniques/imageDenoising/imageDenoisingGL.cpp:424
↓ 1 callers
Function
runAutoTest
cpp/2_Concepts_and_Techniques/FunctionPointers/FunctionPointers.cpp:370
↓ 1 callers
Function
runAutoTest
/////////////////////////////////////////////////////////////////////////// Run test /////////////////////////////////////////////////////////////////
cpp/4_CUDA_Libraries/oceanFFT/oceanFFT.cpp:214
↓ 1 callers
Function
runAutoTest
cpp/0_Introduction/simpleTexture3D/simpleTexture3D.cpp:298
↓ 1 callers
Function
runAutoTest
cpp/3_CUDA_Features/bindlessTexture/bindlessTexture.cpp:287
↓ 1 callers
Function
runAutoTest
cpp/5_Domain_Specific/bicubicTexture/bicubicTexture.cpp:534
↓ 1 callers
Function
runAutoTest
cpp/5_Domain_Specific/SobelFilter/SobelFilter.cpp:361
↓ 1 callers
Function
runAutoTest
cpp/5_Domain_Specific/marchingCubes/marchingCubes.cpp:351
↓ 1 callers
Function
runBenchmark
cpp/2_Concepts_and_Techniques/particles/particles.cpp:197
↓ 1 callers
Function
runBenchmark
/////////////////////////////////////////////////////////////////////////// Run a simple benchmark test for CUDA /////////////////////////////////////
cpp/5_Domain_Specific/bilateralFilter/bilateralFilter.cpp:419
↓ 1 callers
Method
runCudaNvSci
cpp/4_CUDA_Libraries/cudaNvSci/cudaNvSci.cpp:557
↓ 1 callers
Method
runCudaNvSciBufPlanar
Caller1 flips a YUV image which is allocated to nvscibuf APIs and copied into CUDA Array. It is mapped to CUDA surface and bit flip is done. Caller2 i
cpp/8_Platform_Specific/Tegra/cudaNvSciBufMultiplanar/cudaNvSciBufMultiplanar.cpp:183
↓ 1 callers
Function
runCudaTest
cpp/4_CUDA_Libraries/oceanFFT/oceanFFT.cpp:437
↓ 1 callers
Function
runFluidsSimulation
Run fluids Simulation
cpp/8_Platform_Specific/Tegra/fluidsGLES/fluidsGLES.cpp:462
↓ 1 callers
Function
runGraphicsTest
/////////////////////////////////////////////////////////////////////////// Run test /////////////////////////////////////////////////////////////////
cpp/4_CUDA_Libraries/oceanFFT/oceanFFT.cpp:257
← previous
next →
1,001–1,100 of 2,694, ranked by callers