karolherbst, to random
@karolherbst@chaos.social avatar

Also.. I should finish #OpenCL support for the raspberry pi 4 and 5 GPUs 🙃

it's almost complete, just needs some last issues figured out (and me rebasing it as I've landed some needed bits) https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25362

ProjectPhysX, to random
@ProjectPhysX@mast.hpc.social avatar

I found an interesting optimization for the marching-cubes algorithm today: Since vertex interpolation happens on axis-aligned edges of the unit cube, it's sufficient to interpolate in 1D instead of 3D. The faster interpolation makes the conditions for which edge to interpolate unnecessary, allowing to get rid of the edge table. That brings the implementation down to 73 lines, including the triangle table. 🖖🤠
https://github.com/ProjectPhysX/FluidX3D/commit/649fd40fa6270fbd0823a53b2a55f4194fc9510b#diff-464b1d19d4b616b9609031b48429081b2c215328d9f98bc5cbeac6b2b84fdbf3R456

ProjectPhysX,
@ProjectPhysX@mast.hpc.social avatar

@nickserv that's a bug in #ARM's #OpenCL runtime: fused-multiply-add (fma) is somehow emulated with terrible performance. This is very similar to what @niconiconi found on Nvidia CMP 170HX, where fma was disabled in the driver.
I've just fixed this in #FluidX3D, by macro-replacing fma with a*b+c. Performance went up by 8-13x on my Samsung S9+ (ARM Mali-G72 MP18) with this workaround.
https://github.com/ProjectPhysX/FluidX3D/commit/9ce2caecfc85e4fda50fed3350304b75b223b06b
cc @chipsandcheese

bashbaug, to random
@bashbaug@mastodon.gamedev.place avatar

We released an updated version of the OpenCL Intercept Layer yesterday, just in time for #IWOCL!

This release supports the latest OpenCL extensions, includes a bunch of performance improvements, and adds a bunch of new features, including the ability to capture an OpenCL kernel and replay it outside of an application for easier debugging.

Get the latest version here: https://github.com/intel/opencl-intercept-layer

#OpenCL

bashbaug, to random
@bashbaug@mastodon.gamedev.place avatar

I couldn't make it to Chicago and IWOCL this year, so I did my best to bring Chicago to me.

karolherbst, to linux
@karolherbst@chaos.social avatar

So, I'll be having my talk about Rusticl, Compute in the linux desktop and other related topics at IWOCL next week.

Any specifics topics you want me to cover?

#iwocl #opencl #rusticl #linux

jay, to ai
@jay@mastodon.gamedev.place avatar
ProjectPhysX, to GraphicsProgramming
@ProjectPhysX@mast.hpc.social avatar

How realistic can a #CFD simulation be? Here is a 1 billion cell #FluidX3D simulation of an impacting raindrop, fully raytraced in 8K. FluidX3D contains state-of-the-art volume-of-fluid and surface tension models for highly accurate free surface simulations. Combined with my own #OpenCL #raytracing engine, results are rendered on-the-fly at resolution as large as remaining #GPU VRAM can hold. 🖖😋💧📺
https://youtu.be/MmLNQIW_Sic
FluidX3D is on #GitHub: https://github.com/ProjectPhysX/FluidX3D

sascha, to GraphicsProgramming German
@sascha@mastodon.gamedev.place avatar

My community driven @thekhronosgroup GPU hardware databases for #Vulkan, #OpenGL, #OpenGLES and #OpenCL recently hit the 50,000 reports milestone.

Did a small write up on this, including some history on those databases at https://www.saschawillems.de/blog/2024/03/09/gpu-hardware-databases-hit-50000-reports/

Thanks to everyone who contributed (and is contributing) reports 😊

Methylzero, to hpc

#HPC #CUDA #OpenCL #LAPACK
If you had to do a lot of linear least square solves, with potentially rank-deficient matrices, what would you use on a GPU? On CPUs, LAPACK's DGELSY does work, but most GPU libraries seem to not implement routines for rank-deficient matrices.

ProjectPhysX, to GraphicsProgramming
@ProjectPhysX@mast.hpc.social avatar

#FluidX3D v2.13 is out, providing faster #VTK export with automatic SI unit conversion and a variety of bug fixes!
Full release notes: https://github.com/ProjectPhysX/FluidX3D/releases/tag/v2.13
#GPU #CFD #OpenCL #GPGPU #HPC #GitHub

ProjectPhysX, to intel
@ProjectPhysX@mast.hpc.social avatar

This is wild: can "SLI" together 🔵 Arc A770 + 🟢 Titan Xp, pooling 12GB+12GB of their VRAM for one large 450M cell simulation. Top half on A770, bottom half on Titan Xp. They seamlessly communicate over PCIe. Performance is ~1.7x of what either could do on its own. 🖖😋🖥🔥
shows its true power here - one implementation works on literally all GPUs at full performance, even at the same time. Happy !
https://youtu.be/PscbxGVs52o

karolherbst, to random
@karolherbst@chaos.social avatar

Anyway, any OpenCL applications you want to see working on Rusticl and which aren't atm? Or in general? It's slowly getting into the state, where things "just work".

ProjectPhysX, to Nvidia
@ProjectPhysX@mast.hpc.social avatar

Another day, another driver bug that needs a workaround: seems like Nvidia's driver suffers 32-bit uint overflow within the cl::CommandQueue::enqueueFillBuffer call! 🖖🤦‍♂️
https://github.com/ProjectPhysX/FluidX3D/commit/82976f15d2bd20b9188ea623cf0bac046c6c81ce

ProjectPhysX,
@ProjectPhysX@mast.hpc.social avatar

Found and reported another bug in drivers: passing vector types like int3 as kernel parameters is broken. 🖖🙂

jannem, to GraphicsProgramming
@jannem@fosstodon.org avatar

@VileLasagna Has a blog post on the relative speed of different #GPU compute frameworks on the same hardware and driver.

Tl;dr: on an #Nvidia card, with Nvidia drivers, #CUDA is the slowest, by far. Fastest is our old stalwart #OpenCL - almost twice as fast when used only for compute. #Vulcan is good, and the least affected by using the card for your desktop at the same time. Read it - it's good.

#HPC #gpgpu #compute

https://vilelasagna.ddns.net/coding/if-you-want-performance-maybe-you-should-drop-cuda/

toxi, to genart
@toxi@mastodon.thi.ng avatar

Passively participating in — Day 8 Chaotic System. In 2012/13 I designed an award-winning audioreactive brand identity system for Leeds College Of Music based on the DeJong strange attractor with tens and hundreds of millions of particles per frame. This massive almost 1 year project consisted of a Mac/PC desktop app (written in Clojure, OpenCL & OpenGL) for exploring the attractor, creating presets and scheduling render jobs for super hi-res print assets (which would take a hours to render and were the biggest image sizes I ever had to deal with, up to 3x3 meters @ 150 dpi). I also had to develop an entire AWS based ad-hoc render farm and asset & user management system for the school to generate personalized video assets, allowing each student to upload their own music, handle audio FFT analysis and beat detection/mapping (all in Clojure) and to create individual sound-responsive clips for their in-school digital signage system and for sharing on social media... Most key aspects were handled via various old thi.ng libraries (e.g. https://thi.ng/simplecl for OpenCL interop). The server app also handled transcoding to dozens of video formats (via ffmpeg) and semi-automatic provisioning of EC2 machines for render/transcoding jobs...

An example video is below (music: Heyoka, Blue Towel)

1 minute long audio-responsive generative animation of two strange attractor particle systems mapped onto a sphere with various special effects like additive color blending, layering. At the end of the video the sphere zooms out and blends into a static "Leeds College of Music" end screen

toxi,
@toxi@mastodon.thi.ng avatar
pekka, to random
johnkslang, to GraphicsProgramming

The -V 1.6, Revision 3 specification is now available.

https://registry.khronos.org/SPIR-V/

gabmus, to linux
@gabmus@fosstodon.org avatar

@oblomov I've been asked today, is (on ) any good these days? I haven't really been into the space for a while.

Also

mwibral,
@mwibral@mastodon.social avatar

@gabmus
I use 5.7 to run , google's (for pymc), and on two vega cards (Vega 64 and Radeon pro WX9100) on arch and ubuntu. They all run Ok, but correct setup needs some googling around, and jax beeds exporting some flags. Situation is much, much better than 2 years ago, though.
@oblomov

toxi, to opensource
@toxi@mastodon.thi.ng avatar

A week ago was the 1st anniversary of this solo instance & more generally of my fulltime move to Mastodon. A good time for a more detailed intro, partially intended as CV thread (pinned to my profile) which I will add to over time (also to compensate the ongoing lack of a proper website)... Always open to consulting offers, commissions and/or suitable remote positions...

Hi, I'm Karsten 👋 — indy software engineer, researcher, author of hundreds of projects (since ~1999), computational/generative artist/designer, landscape photographer, lecturer, outdoor enthusiast, on the ND spectrum. Main interest in transdisplinary research, tool making, exploring techniques, projects & roles amplifying the creative, educational, expressive and inspirational potential of (personal) computation, code as material, combining this with generative techniques of all forms (quite different to what is now called and implied by "generative AI").

Much of my own practice & philosophy is about , interconnectedness, simplicity and composability as key enablers of emergent effects (also in terms of workflow & tool/system design). Been adopting a round-robin approach to cross-pollinate my work & learning, spending periods going deep into various fields to build up and combine experience in (A-Z order): API design, audio/DSP, baremetal (mainly STM32), computer vision/image processing, compiler/DSL/VM impl, databases/linked data/query engines, data structures impl, dataviz, fabrication (3DP, CNC, knit, lasercut), file formats & protocols (as connective tissue), "fullstack" webdev (front/back/AWS), generative & evolutionary algorithms/art/design/aesthetics/music, geometry/graphics, parsers, renderers, simulation (agents/CFD/particles/physics), shaders, typography, UI/UX/IxD...

Since 2018 my main endeavor has been https://thi.ng/umbrella, a "jurassic" (as it's been called) monorepo of ~185 code libraries, addressing many of the above topics (plus ~150 examples to illustrate usage). More generally, for the past decade my OSS work has been focused on , #C, , , , , , , , /. Earlier on, mainly Java (~15 years, since 1996).

Formative years in the deep end of the 8bit demoscene (Chip Special Software) & game dev (eg. The Brundles, 1993), B&W dark room lab (since age 10), music production/studio (from 1993-2003), studied media informatics, moved to London initially as web dev, game dev (Shockwave 3D, ActionScript), interaction designer, information architect. Branched out, more varied clients/roles/community for my growing collection of computational design tools, which I've been continously expanding/updating for the past 20+ years, and which have been the backbone of 99% of my work since ~2006 (and which helped countless artists/designers/students/studios/startups). Creator of thi.ng (since 2011), toxiclibs (2006-2013), both large-scale, multi-faceted library collections. Early contributor to Processing (2003-2005, pieces of core graphics API).

Worked on dozens of interactive installations/exhibitions, public spaces & mediafacades (own projects and many collabs, several award winning), large-scale print on-demand projects (>250k unique outputs), was instrumental in creating some of the first generative brand identity systems (incl. cloud infrastructure & asset management pipelines), collaborated with architects, artists, agencies, hardware engineers, had my work shown at major galleries/museums worldwide, taught 60+ workshops at universities, institutions and companies (mainly in EMEA). Was algorithm design lead at Nike's research group for 5 years, working on novel internal design tools, workflows, methods of make, product design (footwear & apparel) and team training. After 23 years in London, my family decided on a lifestyle change and so currently based in the beautiful Allgäu region in Southern Germany.

karolherbst, to random
@karolherbst@chaos.social avatar

Davinci resolve (and other #OpenCL applications using gl_sharing) should work on rusticl on AMD and Intel hardware as of today.

Other drivers need to implement a few optional features, but that should be rather trivial.

Thanks a lot for Antonio for working on all of this!

giuseppebilotta, to random
@giuseppebilotta@fediscience.org avatar

OK so I'm ready for today's lesson with the new laptop. My only gripe for the lesson will be that in 23.2 doesn't support information. Apparently the feature was merged at a later commit
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24101
and I even tried upgrading to my distro's experimental 23.3-rc1 packages, but trying to use rusticl on those packages segfaults. So either I've messed up something with this mixed upgrade, or I've hit an actual bug.

giuseppebilotta,
@giuseppebilotta@fediscience.org avatar

I'm still moderately annoyed by the fact that there's no single #OpenCL platform to drive all computer devices on this machine. #PoCL comes close because it supports both the CPU and the #NVIDIA dGPU through #CUDA, but the not the #AMD iGPU (there's an #HSA device, but). #Rusticl supports the iGP (radeonsi) and the CPU (llvmpipe), but not the dGPU (partly because I'm running that on proprietary drivers for CUDA). Everything else has at best one supported device out of three available.

giuseppebilotta, to random
@giuseppebilotta@fediscience.org avatar

Whenever I can, I try to end each lesson with a provocation.

When we finished our first trivial #OpenCL program, I showed them how the kernel runtime plus data transfer runtime actually made GPUs “not convenient”, as a prelude to illustrating the usefulness of memory pinning and buffer (un)mapping to improve data transfer efficiency and avoiding them when possible.

We're still working on that trivial program, so today I showed them how number of elements affects performance.

1/2

ProjectPhysX, to github German
@ProjectPhysX@mast.hpc.social avatar

has passed 2000 Stars! It is the most popular software on now! 🖖😊⭐️
https://github.com/ProjectPhysX/FluidX3D
Feeling blessed that my work is useful to so many people across the globe, with users in 75 countries already! 🌍
42% EU, 30% Americas, 25% Asia, 3% Oceania+Africa

ProjectPhysX,
@ProjectPhysX@mast.hpc.social avatar

The red lightning bolt continues: has passed 3000 Stargazers on - from 82 countries! 🖖🥳⭐
Releasing this software for free really has turned out win-win: I've received so much valuable feedback, and answered with as many bug fixes and updates, with many more to come. I am enabling cutting-edge simulations for everyone, with very little hardware resources, on literally every computer that has a , regardless of vendor.
👉 https://github.com/ProjectPhysX/FluidX3D

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • magazineikmin
  • Youngstown
  • osvaldo12
  • khanakhh
  • slotface
  • cubers
  • InstantRegret
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • everett
  • rosin
  • JUstTest
  • Durango
  • ethstaker
  • provamag3
  • tester
  • mdbf
  • GTA5RPClips
  • normalnudes
  • modclub
  • tacticalgear
  • megavids
  • cisconetworking
  • Leos
  • lostlight
  • All magazines