Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daelsepara/hipnewton
GPU Implementation of Newton Fractal Generator with Benchmarking
https://github.com/daelsepara/hipnewton
amd cuda fractal gpu gpu-compute gpu-computing hip newton parallel-computing rocm sdk
Last synced: 16 days ago
JSON representation
GPU Implementation of Newton Fractal Generator with Benchmarking
- Host: GitHub
- URL: https://github.com/daelsepara/hipnewton
- Owner: daelsepara
- License: gpl-3.0
- Created: 2024-07-27T15:13:46.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-12T03:39:28.000Z (3 months ago)
- Last Synced: 2024-08-12T04:43:03.586Z (3 months ago)
- Topics: amd, cuda, fractal, gpu, gpu-compute, gpu-computing, hip, newton, parallel-computing, rocm, sdk
- Language: C++
- Homepage:
- Size: 544 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HIP Newton
GPU Implementation of Newton Fractal Generator with Benchmarking using [AMD HIP SDK](https://github.com/ROCm-Developer-Tools/HIP).Computes for the Newton fractal in the complex plane bounded by the rectangular corners (-2.5, -2.5) to (2.5, 2.5).
## Usage
```cmd
To use:[Command Prompt] HIPNewton.exe [WIDTH] [HEIGHT]
or
[Command Prompt] HIPNewton.exe [N]
```## Sample Run
```cmd
Device: AMD Radeon RX 7800 XTEstimated GPU RAM requirements: 4294967296 bytes
Total GPU RAM: 17163091968 bytes
Program GPU RAM limit: 8589934592 bytes
Size of int: 4 bytesgenerating newton set using GPU ...
GPU elapsed time: 1442.35 ms
generating newton set using CPU ...
CPU elapsed time: 51463.9 ms35.6807x speedup, diff: 2
```### Sample output (converted from PGM and PPM to PNG)
#### RGB (2048 x 2048)
![rgb](images/newton.png)#### Gray (2048 x 2048)
![gray](images/newton-gray.png)## To Do
- Benchmarks
- PNG Image Output
- User defined parameters
- Implement other fractal generators