fsau / ising-opencl

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Other


Languages

Language:C 77.2%Language:MATLAB 22.2%Language:Makefile 0.7%