Getting StartedΒΆ
GGEMS can be called using a python console
$ python
Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information
>>> from ggems import *
>>> opencl_manager = GGEMSOpenCLManager()
>>> opencl_manager.print_infos()
>>> opencl_manager.set_device_index(0)
>>> opencl_manager.clean()
>>> exit()
With the previous command lines, the user has the possibility checking which device is recognized by GGEMS. The device 0 is selected.
Important
If an OpenCL device is missing, please check your installation driver for the missing device.
The best way learning how GGEMS is working, is to try each example available in the example folders. Using GGEMS, for a personnal project, from scratch, using python or C++ is explained in the developer part.