Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nourmorsy/convolution-neural-network-cuda
Code for optimization to CNN using CUDA
https://github.com/nourmorsy/convolution-neural-network-cuda
c cnn cuda
Last synced: about 1 month ago
JSON representation
Code for optimization to CNN using CUDA
- Host: GitHub
- URL: https://github.com/nourmorsy/convolution-neural-network-cuda
- Owner: nourmorsy
- Created: 2023-12-15T00:59:11.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-01T21:47:42.000Z (3 months ago)
- Last Synced: 2024-11-14T00:36:15.269Z (3 months ago)
- Topics: c, cnn, cuda
- Language: C
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CNN with Cuda
## Project Title
### Overview and Goal
This project focuses on [brief description of the project's objective, e.g., developing efficient computational layers for a specific application]. The main goal is to provide high-performance computation by leveraging both CPU and GPU resources.---
### Dependencies
To run this project, ensure you have the following installed:
- GCC or Clang compiler for C/C++ files
- CUDA toolkit for GPU support---
### Usage and File Description
#### Files
- **`layers.c`**: Contains core functionalities, primarily for CPU-based computation.
- **`layers_cu.cu`**: Contains GPU-optimized functions implemented using CUDA for efficient processing.#### Running the Project
To compile and execute the project:1. Compile the C file:
```bash
gcc layers.c -o layers
```
2. Compile the CUDA file:
```bash
nvcc layers_cu.cu -o layers_gpu
```
3. Run the files:
- **CPU version:**
```bash
./layers
```
- **GPU version:**
```bash
./layers_gpu
```
---
### Acknowledgments
Special thanks to the teaching assistant for support and guidance:[Nagy K. Aly](https://github.com/nagyaly)