Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.physics > #896208

Implementing Gas for a Compute Shader [Avoid TDR] (Re: AI dooms day escape: Güttinger Wald)

From Mild Shock <janburse@fastmail.fm>
Newsgroups sci.physics
Subject Implementing Gas for a Compute Shader [Avoid TDR] (Re: AI dooms day escape: Güttinger Wald)
Date 2026-07-09 10:49 +0200
Message-ID <112nnbg$81rj$1@solani.org> (permalink)
References <10seekb$rsl4$4@solani.org> <10sias6$ud5u$4@solani.org>

Show all headers | View raw


Hi,

I guess, you can read off how to do it here,
i.e. avoid TDR (DXGI_ERROR_DEVICE_HUNG 0x887A0006).
The below compute toys example has a similar

approach, just like my π-WAM and Hack GPU backend,
that is based on a Instruction Set Architecture (ISA):

Conway's Game of Life
https://compute.toys/view/2777

He adds a spin to his ISA, that he uses
some gas as computational resource limiter:

         for (var gas = 0; gas < 60; gas++) {
             if (vm.done == 1u) { break; }
             if (vm.pc >= 33u) { vm.done = 1u; break; }

             let instr = rom[vm.pc]; vm.pc++;
             switch (instr) {
                 case OP_HALT: { vm.done = 1u; }
                 case OP_LIT: { vm.stack[vm.sp] = rom[vm.pc]; vm.pc++; 
vm.sp++; }
                 case OP_ADD: { vm.sp-=2; vm.stack[vm.sp] = 
vm.stack[vm.sp] + vm.stack[vm.sp+1]; vm.sp++; }
                 case OP_SUB: { vm.sp-=2; vm.stack[vm.sp] = 
vm.stack[vm.sp] - vm.stack[vm.sp+1]; vm.sp++; }

Etc..

Now need to do the same for my Hack GPU backend
somehow. Will see how this works out.

But the https://compute.toys/ will do the repeated
invokation of the shader. And the screen syncing
and some pacing to get 60 FPS. So I have to look

at the GitHub source of compute toys as well, in
case it is open source, to at least find a code
template for the repeated dispatch.

Bye

Mild Shock schrieb:
> Hi,
> 
> You just escaped AI dooms day. Humanity has
> reset all internet and computers as a last resort
> to prevent AGI developing, by an electromagnetic
> 
> pulse. You are stuck in Güttinger Wald and hunted
> down a deer by your bare hands, the deer still
> confused and tame because tourists were feeding it.
> 
> Now you have no knife, what do you do:
> 
> Chimpanzees Have Entered The Stone Age
> https://www.youtube.com/watch?v=wPXX2I_uYjc
> 
> So we are just apes with internet.
> 
> Bye
> 
> Mild Shock schrieb:
>> Hi,
>>
>> Ok I was looking at this learning challenge,
>> producing vector (y1,y2,y3,y4) from a vector
>> (x1,x2,x3,x4), System R can do it via least square?
>>
>> | 0 0 0 1 |   | x1 |     | x4 |
>> | 0 0 1 0 |   | x2 |  =  | x3 |
>> | 0 1 0 0 |   | x3 |     | x2 |
>> | 1 0 0 0 |   | x4 |     | x1 |
>>
>> How it started:
>>
>> "multiplicative RNNs arises naturally from a
>> proof-theoretic interpretation of next-token
>> prediction as nested intuitionistic implication"
>> Paul Tarau - 2026
>> https://arxiv.org/abs/2601.19915
>>
>> How its going:
>>
>> "Dave uses a PDP-11 to train a real Neural
>> Network complete with Transformers and
>> Attention so you can see them at their most basic."
>> Mr. Taskmanager - 2026
>> https://www.youtube.com/watch?v=OUE3FSIk46g
>>
>> We see Doctor Frankstein in action from
>> the Bronze Age of Computing, producing
>> a Humunkulus, the progenitor of todays
>>
>> Bulgakov Shuriks in the Hyperscale Age!
>>
>> Bye
>>
>> P.S.: My impression neither cut to the core, that
>> this incredible transformer most likely
>> produced this deterministic attention:
>>
>> | -1 | * | k | + | 5 | = | k' |
>>
>> Or differently expressed y_k = x_{5-k}.
>>
>> How did the transformer do it? It produced
>> a neural network with 1216 parameters, but
>> didn't use embeddings or polar encoding
>>
>> of positions. But if we strip the noise
>> and denoise from the position encoding,
>> the denoise is done via softmax. We somehow
>>
>> must get the above, right? I still need to
>> verify my claim! BTW: The PDP-11 assembly
>> from 1979 uses wider example not with n=4
>>
>> but with n=8.
> 

Back to sci.physics | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Implementing Gas for a Compute Shader [Avoid TDR] (Re: AI dooms day escape: Güttinger Wald) Mild Shock <janburse@fastmail.fm> - 2026-07-09 10:49 +0200
  FYI: Unified Memory Architecture (UMA) (Re: Implementing Gas for a Compute Shader [Avoid TDR]) Mild Shock <janburse@fastmail.fm> - 2026-07-09 19:45 +0200
    he Wider von Neumann Neck (Re: FYI: Unified Memory Architecture (UMA)) Mild Shock <janburse@fastmail.fm> - 2026-07-10 07:49 +0200
      Mac Neo: The dwarf with giant GPU muscles [macOS IOGPUFamily] (Re: The new MIMD Warp is the cherry on top) Mild Shock <janburse@fastmail.fm> - 2026-07-10 08:29 +0200
      Dumbwit, just run it on your RTX 5070 trash (Re: he Wider von Neumann Neck) Mild Shock <janburse@fastmail.fm> - 2026-07-10 15:47 +0200
        We are waiting Dumbwit: 1 Month, 3 Months, .. [node.js dawn] (Re: Dumbwit, just run it on your RTX 5070 trash) Mild Shock <janburse@fastmail.fm> - 2026-07-10 16:29 +0200
          We are still waiting for results! [Confused Dumbwit] (Re: We are waiting Dumbwit: 1 Month, 3 Months, .. [node.js dawn]) Mild Shock <janburse@fastmail.fm> - 2026-07-10 22:47 +0200
            404 Brain not Found [GPU saturation] (Re: We are still waiting for results! [Confused Dumbwit]) Mild Shock <janburse@fastmail.fm> - 2026-07-10 23:42 +0200
              I nowhere talked about 10GB/s (Re: 404 Brain not Found [GPU saturation]) Mild Shock <janburse@fastmail.fm> - 2026-07-10 23:43 +0200
                I nowhere said something about AI (Re: I nowhere talked about 10GB/s) Mild Shock <janburse@fastmail.fm> - 2026-07-10 23:51 +0200
                Re: I nowhere said something about AI (Re: I nowhere talked about 10GB/s) Mild Shock <janburse@fastmail.fm> - 2026-07-11 00:09 +0200

csiph-web