Commit Graph

  • e3e39af1a4 Formated README 0.3.0 adrien 2026-05-27 13:20:13 +02:00
  • ff1226f268 Renamed gloc to glloc adrien 2026-05-27 11:59:51 +02:00
  • 389060c238 Update zon version 0.2.3 AdrienBouvais 2026-05-27 08:32:29 +02:00
  • a75252b68f Renamed gloc with glloc AdrienBouvais 2026-05-27 08:27:36 +02:00
  • 28f92570e8 Added a script to dl all wgpu release master adrien 2026-05-26 23:35:46 +02:00
  • 6ee835a460 Added licence adrien 2026-05-26 23:35:34 +02:00
  • 58a07a84d0 Link libc for window - Window and MacOS to be tested adrien 2026-05-24 12:04:44 +02:00
  • 43a9f54f49 Added webgpu binary for each target (window, macos, linux) in all archi (x86, aarch) adrien 2026-05-24 01:27:10 +02:00
  • d010b37801 Removed link in fetch code snapped in README AdrienBouvais 2026-05-22 08:20:25 +02:00
  • 5f8da0940d GpuBuffer read no longer allocate an staging buffer itself. Instead need to manually do it and use new copy function to move data from a buffer to a mapable one 0.2.2 adrien 2026-05-22 00:41:28 +02:00
  • 4901dc654d GpuBuffer now hold its def and not values directly adrien 2026-05-22 00:30:29 +02:00
  • e03cb3f285 Added back VRAM budget check for GpuBuffer, must be forgotten when refactoring it 0.2.1 adrien 2026-05-22 00:17:54 +02:00
  • 14def5d555 Updated example in README adrien 2026-05-21 23:38:22 +02:00
  • e61c5f775d Prevent building example when use as module adrien 2026-05-21 23:33:54 +02:00
  • d503ce7dea Added optional label in definitions and added logs when alloc, free and device info AdrienBouvais 2026-05-21 10:26:20 +02:00
  • 9c329a5a06 Prevent building examples when fetch 0.2.0 adrien 2026-05-20 15:59:28 +02:00
  • 69f9cad2c1 Updated README ref adrien 2026-05-20 15:45:02 +02:00
  • c5d7fd927d Updated README and build.zon version adrien 2026-05-20 14:04:25 +02:00
  • 17977cc718 Merge branch 'render' adrien 2026-05-20 13:47:43 +02:00
  • 5104d61ef6 Synthax for compute example adrien 2026-05-20 13:41:04 +02:00
  • 7d5331aed7 Circle example use device allocator directly adrien 2026-05-20 13:39:20 +02:00
  • 7d425e4061 Changed how Allocator work to be more Zig like adrien 2026-05-20 13:32:37 +02:00
  • a06b040a29 Render and COmpute Pipelines now use a gloc and is tracked by Arena adrien 2026-05-20 12:29:41 +02:00
  • af210e2fb2 Working self contained rendering (simple circle) adrien 2026-05-20 11:46:06 +02:00
  • 545c4b98e9 Create a GpuTextureView adrien 2026-05-20 10:56:35 +02:00
  • 45c0f3180e Created a GpuTextureDef adrien 2026-05-20 09:55:34 +02:00
  • fc57bee3af Created GpuPrimitiveTolopogy to replace c.WGPUPrimitiveTopology adrien 2026-05-20 09:37:46 +02:00
  • bcb1b1e98b GpuRender now take a GpuTextureFormat and not a c.WGPUTextureFormat adrien 2026-05-20 09:24:37 +02:00
  • 32f5d2b828 Added GpuTexture tied to arena like buffer adrien 2026-05-20 09:14:54 +02:00
  • ad3fcf2592 Basic working circle render pipeline adrien 2026-05-19 21:58:14 +02:00
  • 83ef8bcd12 Renamed ProcessDef to COmputeDef adrien 2026-05-19 21:35:52 +02:00
  • e467539f6e Renamed GpuProcess to GpuCompute adrien 2026-05-19 21:15:31 +02:00
  • fb2f454c1c Removed unused import AdrienBouvais 2026-05-19 09:18:26 +02:00
  • 7e1bc387ca Synthax AdrienBouvais 2026-05-19 09:15:32 +02:00
  • 09e62cf667 Update README and comment for new GpuProcess AdrienBouvais 2026-05-19 08:00:42 +02:00
  • 62b5224e6e Changed GpuProcess to use a definition AdrienBouvais 2026-05-19 07:54:16 +02:00
  • 44d26feba5 . AdrienBouvais 2026-05-19 07:41:50 +02:00
  • bfac170936 Added better dependencies info in README AdrienBouvais 2026-05-19 07:35:08 +02:00
  • 523a9b69ac .Synthax adrien 2026-05-18 23:21:26 +02:00
  • 571a9db71f Started to add a mnist Deep Learning example adrien 2026-05-18 23:11:58 +02:00
  • 6ec53bb909 Moved add and bench into an examples directory so src is just the library 0.1.0 adrien 2026-05-18 22:57:13 +02:00
  • 6b933465b0 Better example adrien 2026-05-18 17:00:44 +02:00
  • 3d9cb4df04 Removed TensorInfo from example shader adrien 2026-05-18 16:45:55 +02:00
  • c62bead6e9 Better example (no Vec) adrien 2026-05-18 16:38:30 +02:00
  • 9dbd668de9 . adrien 2026-05-18 16:33:26 +02:00
  • 50bf436fa5 Update README adrien 2026-05-18 16:33:07 +02:00
  • df4eb36bc8 Added README adrien 2026-05-18 16:30:27 +02:00
  • c7afe28cc6 GpuBuffer align with size 4 as required by WebGPU adrien 2026-05-18 16:24:43 +02:00
  • d9cb4c4672 Better example comments adrien 2026-05-18 16:18:58 +02:00
  • 3a09e11f54 Deleted Vec.zig adrien 2026-05-18 16:05:50 +02:00
  • e608681ce1 Added preference power in DeviceCOnf adrien 2026-05-18 16:05:42 +02:00
  • d2b0735540 Moved all f32 out of GpuXxxx to all be in Vec adrien 2026-05-18 15:35:38 +02:00
  • 8e137c8f33 Vec no longer need import c adrien 2026-05-18 15:28:28 +02:00
  • 97d5f9001f Removed GpuPipeline for a GpuProcess adrien 2026-05-18 15:28:02 +02:00
  • d5e7f60926 Moved read stuff to GpuBuffer directly adrien 2026-05-18 14:27:11 +02:00
  • 2673aef0fd Moved c.gpuQueuWriteBuffer to GpuBuffer adrien 2026-05-18 14:16:01 +02:00
  • 7ce6b9cd1d Better example adrien 2026-05-18 14:11:17 +02:00
  • f5daf66784 Changed GpuAllocator to be like std.mem.Allocator adrien 2026-05-18 14:07:28 +02:00
  • c3166e552b GpuBuffer init now take a EnumSet of BufferUsage and not a c.WGPUBufferUsage adrien 2026-05-18 10:49:11 +02:00
  • d42c521a96 Added f16 capability adrien 2026-05-18 10:12:36 +02:00
  • 0fc5f5dbb8 GpuBuffer can be for any float and init now adrien 2026-05-18 09:31:58 +02:00
  • 545e67d72f Added a example.zig adrien 2026-05-18 00:19:37 +02:00
  • 0fcb9ee351 Synthax improv + GpuDeviceConfig adrien 2026-05-18 00:10:09 +02:00
  • 6a2cbe2734 Removed const x = @This() to just use @This() adrien 2026-05-17 23:54:58 +02:00
  • 1c8e12b1e6 Added a VRAM limit to GpuAllocator adrien 2026-05-17 23:51:51 +02:00
  • 38538fcd80 Removed waiting for each run and moved it in bench directly adrien 2026-05-17 23:18:49 +02:00
  • f56dfe7ecc Removed main.zig to become bench.zig + better benchmark + wait for calcul to be done in Vec.submitPass adrien 2026-05-17 21:35:16 +02:00
  • 01bc0954b0 Update lib.zig adrien 2026-05-17 21:20:35 +02:00
  • cb19cd8e30 Mat to Vec + changed how its API work adrien 2026-05-17 21:19:24 +02:00
  • 7b9a7fe7a9 Created a GpuPipeline adrien 2026-05-17 21:05:30 +02:00
  • cef6155f41 Splited GpuAllocator into GpuAllocator and GpuDevice adrien 2026-05-17 20:55:49 +02:00
  • d57968d6df Removed unused GpuConfig adrien 2026-05-17 20:47:08 +02:00
  • 2c52c202fe Changed MAt.read to take an allocator adrien 2026-05-17 20:39:03 +02:00
  • 915c5cea65 Removed _pip_add and scale to a pipelines struct adrien 2026-05-17 20:16:19 +02:00
  • a381c71550 Fixed binding size limit error by chunking to max 1GB binding adrien 2026-05-17 17:52:07 +02:00
  • cfc1069309 Removed GpuBuffer limits adrien 2026-05-16 00:26:07 +02:00
  • 90a7cf946f Changed main to be a benchmark of different size adrien 2026-05-15 18:46:07 +02:00
  • 0da02f60c4 Created a GpuBuffer + an arry in GpuAlloc to deinit all when deinit the alloc adrien 2026-05-15 16:03:40 +02:00
  • 4725723d42 REleted gpu.zig and created a lib.zig to output a module adrien 2026-05-15 10:27:45 +02:00
  • 6018b5f0ff Splited gpu.zig into multiple files adrien 2026-05-15 10:25:12 +02:00
  • 67f35eed34 Removed tmp file and added gitattributes adrien 2026-05-15 10:07:23 +02:00
  • 8ff91d35ec Basic GpuAlloc + Mat adrien 2026-05-15 09:44:53 +02:00
  • 8050bab969 Started to understand how it work and implemented chained operation adrien 2026-04-28 23:30:21 +02:00
  • 532e8c1897 Basic working matrix addition adrien 2026-04-28 10:22:22 +02:00