Skip to content

GPU Implementation of Newton Fractal Generator with Benchmarking

License

Notifications You must be signed in to change notification settings

daelsepara/HIPNewton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HIP Newton

GPU Implementation of Newton Fractal Generator with Benchmarking using AMD HIP SDK.

Computes for the Newton fractal in the complex plane bounded by the rectangular corners (-2.5, -2.5) to (2.5, 2.5).

Usage

To use:

[Command Prompt] HIPNewton.exe [WIDTH] [HEIGHT]

or

[Command Prompt] HIPNewton.exe [N]

Sample Run

Device: AMD Radeon RX 7800 XT

Estimated GPU RAM requirements: 4294967296 bytes
Total GPU RAM: 17163091968 bytes
Program GPU RAM limit: 8589934592 bytes
Size of int: 4 bytes

generating newton set using GPU ...
GPU elapsed time: 1442.35 ms
generating newton set using CPU ...
CPU elapsed time: 51463.9 ms

35.6807x speedup, diff: 2

Sample output (converted from PGM and PPM to PNG)

RGB (2048 x 2048)

rgb

Gray (2048 x 2048)

gray

To Do

  • Benchmarks
  • PNG Image Output
  • User defined parameters
  • Implement other fractal generators

Releases

No releases published

Packages

No packages published