Spent a good part of the day yesterday writing up some neat Docker images to run GPU enabled OpenCL out of. Wasnt too hard to figure out how to get the docker image the correct access to the GPU to enable the GPU acceleration or anything. In fact the tricker part was figuring out how to write the .gitlab-ci.yml file and the respective Dockerfile to be parameterized to minimize work.
Its a cool little trick I used, it basically looks at the branch or tag name to figure out how to tag the docker images. If the branch is develop it is tagged as "aparapi/aparapi-nvidia:git" and does another one as "aparapi/aparapi-amdgpu:git". Similarly if the branch is master then it will be "latest" instead of "git". However if its a tag then it uses the tag in place of it. So when using aparapi version 2.0.0 with amdgpu, and the version revision of the dockerfile, it would look like "aparapi/aparapi-amdgpu:2.0.0-1". This means minimal work for me, when I want to use a new version I just change the aparapi version, and push it to a new tag and it does all the work to compile it.
It even automatically pushes it to docker hub for me!
So my desktop has 32 CPUs and 64 gigs of memory, and 2x nvme 960 pro in RAID 1 configuration. Not to mention 4x Vega 64 water cooled frontier edition graphics card (for OpenCL work).
I'm not even sure I can call this thing a Desktop Computer anymore, its more like a low-end supercomputer. No matter what I throw at it it responds instantly. What a fucking beast!
An animated gif of the open-source library #APARAPI doing an N-body simulation. The blue dots are low-mass and the red dots are high-mass objects. Its written in Java :java: and runs on the GPU.
Aparapi is an Open-source framework for executing native Java and Scala code on the GPU.
github.com/Syncleus/aparapi
#GPGPU #OpenCL #OpenGL #OpenSource #OSS #FOSS #HPC #GPU #Aparapi #Java #Scala #GPU
I finally released version 1.10.0 of Aparapi.
Aparapi is an Open-source framework for executing native Java :java: and Scala code on the GPU.
https://github.com/Syncleus/aparapi
The changelog for this release is here:
https://github.com/Syncleus/aparapi/releases/tag/v1.10.0
#GPGPU #OpenCL #OpenSource #OSS #FOSS #HPC #GPU #Aparapi #Java #Scala
Jeffrey Phillips Freeman
Innovator & Entrepreneur in Machine Learning, Evolutionary Computing & Big Data. Avid SCUBA diver, Open-source developer, HAM radio operator, astrophotographer, and anything nerdy.
Born and raised in Philadelphia, PA, USA, currently living in Utrecht, Netherlands.
Pronouns: Sir / Mister
(Above pronouns are not intended to mock, i will respect any persons pronouns and only wish pronouns to show respect be used with me as well)
A proud member of the Penobscot Native American tribe, as well as a Mayflower passenger descendant. I sometimes post about my genealogical history.
GPG/PGP Fingerprint: 8B23 64CD 2403 6DCB 7531 01D0 052D DA8E 0506 CBCE