mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-24 16:51:22 +01:00
36 lines
980 B
Markdown
36 lines
980 B
Markdown
# conjugateGradientUM - ConjugateGradientUM
|
|
|
|
## Description
|
|
|
|
This sample implements a conjugate gradient solver on GPU using CUBLAS and CUSPARSE library, using Unified Memory
|
|
|
|
## Key Concepts
|
|
|
|
Unified Memory, Linear Algebra, CUBLAS Library, CUSPARSE Library
|
|
|
|
## Supported SM Architectures
|
|
|
|
## Supported OSes
|
|
|
|
Linux, Windows
|
|
|
|
## Supported CPU Architecture
|
|
|
|
x86_64, ppc64le, armv7l
|
|
|
|
## CUDA APIs involved
|
|
|
|
### [CUDA Runtime API](http://docs.nvidia.com/cuda/cuda-runtime-api/index.html)
|
|
cudaFree, cudaMallocManaged, cudaDeviceSynchronize, cudaMalloc, cudaGetDeviceProperties
|
|
|
|
## Dependencies needed to build/run
|
|
[UVM](../../../README.md#uvm), [CUBLAS](../../../README.md#cublas), [CUSPARSE](../../../README.md#cusparse)
|
|
|
|
## Prerequisites
|
|
|
|
Download and install the [CUDA Toolkit 12.5](https://developer.nvidia.com/cuda-downloads) for your corresponding platform.
|
|
Make sure the dependencies mentioned in [Dependencies]() section above are installed.
|
|
|
|
## References (for more details)
|
|
|