Skip to content

Simple OpenCL implementation of Metropolis algorithm for a Ising model on a 2D lattice

License

Notifications You must be signed in to change notification settings

fsau/ising-opencl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metropolis algorithm for 2D Ising model with OpenCL

Note: This code is based on some examples I found online.

To run, first build the program with make:

cd ./src/
make

That will create a file ising.out which is the main executable and can be run standalone.

Configuration

The main configuration is choosing which platform/device to use. You can query the available OpenCL platforms with the program clinfo, then configure ising.h definitions properly.

About

Simple OpenCL implementation of Metropolis algorithm for a Ising model on a 2D lattice

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published