Revert "Add restrict keyword to pointers (not sharing the same memory for multiple fields)"
This reverts commit 60b70bb332. It appears to have minimal performance impact, and fails to compile on nvidia cards.
|1 month ago|
|opencl_fdtd||1 month ago|
|.gitignore||1 month ago|
|LICENSE.md||3 years ago|
|README.md||1 year ago|
|fdtd.py||8 months ago|
|pcgen.py||3 years ago|
|requirements.txt||1 year ago|
|setup.py||11 months ago|
opencl_fdtd is a python application for running 3D time-domain electromagnetic simulations on parallel compute hardware (mainly GPUs).
Performance highly depends on what hardware you have available:
Capabilities are currently pretty minimal:
Optional (used for examples):
To get the code, just clone this repository:
git clone https://mpxd.net/code/jan/opencl_fdtd.git
You can install the requirements and their dependencies easily with
pip install -r requirements.txt
The root directory contains
fdtd.py, which sets up and runs a sample simulation