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


Groups > sci.electronics.design > #474822

Re: Best bang-for-buck uC

Subject Re: Best bang-for-buck uC
Newsgroups sci.electronics.design
References <2fMnB.16621$QC2.4627@fx19.iad> <onpn1k$3ln$1@dont-email.me> <onq24e$6q5$1@dont-email.me> <onq4s5$esv$1@dont-email.me> <onqfno$b16$2@dont-email.me>
From bitrex <bitrex@de.lete.earthlink.net>
Message-ID <0r6oB.20620$bI2.6962@fx04.iad> (permalink)
Organization frugalusenet - www.frugalusenet.com
Date 2017-08-26 00:04 -0400

Show all headers | View raw


On 08/25/2017 08:39 PM, rickman wrote:

>> And it comes with all the troubles of multithreading: resource allocation
>> and management (buses, pins, memory, cache), Amdahl's law (if you need to
>> parallelize some algorithms to try and make better use of all the 
>> cores you
>> aren't needing for IO), atomic operations / mutexes / locking, and
>> impossible-to-track bugs.
> 
> You have already blown the concept.  You will not program 144 processors 
> *anything* like you will program a single fast processor.  Think of this 
> as 144 logic elements that can compute very fast.  If you try to program 
> it the same way you program a PC you will lose all the capability which 
> you appear to understand.

GPU cores are designed to usually be programmed in a high level language 
like HLSL or GLSL. They're very restrictive subsets of C with some 
additional types and functions for vectors and matrices, and extremely 
fast hardware accelerated floating point math functions.

"Vertex shaders" and "pixel shaders" operate in parallel on each vertex 
and pixel of a video frame. There's no inter-core communication as far 
as I'm aware so there's no way for the code operating on one pixel to 
"know" what the code operating on some other pixel is doing, at least 
not without communicating with the CPU or main memory which is slow and 
sort of defeats the purpose.

It's more like writing VHDL than C, but you can make some lovely effects 
like this one (if you can view it it's being generated in real time by 
your computer's GPU by the code on the right):

<https://www.shadertoy.com/view/Ms2SD1>

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-24 22:49 -0400
  Re: Best bang-for-buck uC lonmkusch@gmail.com - 2017-08-25 05:56 -0700
    Re: Best bang-for-buck uC Klaus Kragelund <klauskvik@hotmail.com> - 2017-08-25 06:20 -0700
      Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-25 10:00 -0400
        Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 11:15 -0400
          Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-25 11:33 -0400
            Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 11:41 -0400
              Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-25 11:59 -0400
                Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 12:11 -0400
              Re: Best bang-for-buck uC David Brown <david.brown@hesbynett.no> - 2017-08-28 16:44 +0200
                Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-28 11:12 -0400
                Re: Best bang-for-buck uC David Brown <david.brown@hesbynett.no> - 2017-08-29 13:19 +0200
                Re: Best bang-for-buck uC pcdhobbs@gmail.com - 2017-08-29 06:05 -0700
                Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-09-02 01:16 -0400
                Re: Best bang-for-buck uC David Brown <david.brown@hesbynett.no> - 2017-09-05 10:16 +0200
            Re: Best bang-for-buck uC Klaus Kragelund <klauskvik@hotmail.com> - 2017-08-25 15:10 -0700
        Re: Best bang-for-buck uC Martin Riddle <martin_rid@verizon.net> - 2017-08-25 11:24 -0400
      Re: Best bang-for-buck uC John Larkin <jjlarkin@highlandtechnology.com> - 2017-08-25 08:31 -0700
        Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-25 11:41 -0400
          Re: Best bang-for-buck uC John Larkin <jjlarkin@highlandtechnology.com> - 2017-08-25 15:13 -0700
    Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-25 09:58 -0400
    Re: Best bang-for-buck uC Jasen Betts <jasen@xnet.co.nz> - 2017-08-26 00:47 +0000
      Re: Best bang-for-buck uC lonmkusch@gmail.com - 2017-08-25 18:29 -0700
  Re: Best bang-for-buck uC David Brown <david.brown@hesbynett.no> - 2017-08-25 17:03 +0200
    Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 11:18 -0400
      Re: Best bang-for-buck uC Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-08-25 15:06 -0400
        Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 16:20 -0400
          Re: Best bang-for-buck uC Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-08-25 20:36 -0400
            Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 20:42 -0400
              Re: Best bang-for-buck uC Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-08-25 20:46 -0400
                Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 22:10 -0400
                Re: Best bang-for-buck uC Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-08-26 11:31 -0400
                Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-26 15:30 -0400
      Re: Best bang-for-buck uC David Brown <david.brown@hesbynett.no> - 2017-08-28 16:48 +0200
        Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-28 11:15 -0400
          Re: Best bang-for-buck uC David Brown <david.brown@hesbynett.no> - 2017-08-29 13:21 +0200
    Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-25 11:40 -0400
      Re: Best bang-for-buck uC Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-08-25 12:38 -0400
      Re: Best bang-for-buck uC upsidedown@downunder.com - 2017-08-25 21:16 +0300
      Re: Best bang-for-buck uC Piotr Wyderski <peter.pan@neverland.mil> - 2017-08-27 01:43 +0200
        Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-26 20:48 -0400
          Re: Best bang-for-buck uC Piotr Wyderski <peter.pan@neverland.mil> - 2017-08-27 10:53 +0200
          Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-27 07:35 -0400
        Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-27 07:28 -0400
        Re: Best bang-for-buck uC David Brown <david.brown@hesbynett.no> - 2017-08-28 16:53 +0200
    Re: Best bang-for-buck uC Klaus Kragelund <klauskvik@hotmail.com> - 2017-08-25 15:12 -0700
  Re: Best bang-for-buck uC "Tim Williams" <tmoranwms@gmail.com> - 2017-08-25 12:37 -0500
    Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 16:47 -0400
      Re: Best bang-for-buck uC "Tim Williams" <tmoranwms@gmail.com> - 2017-08-25 16:33 -0500
        Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 20:39 -0400
          Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-26 00:04 -0400
            Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-26 02:04 -0400
            Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-26 02:14 -0400
            Re: Best bang-for-buck uC "Tim Williams" <tmoranwms@gmail.com> - 2017-08-26 14:28 -0500
              Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-26 16:52 -0400
          Re: Best bang-for-buck uC "Tim Williams" <tmoranwms@gmail.com> - 2017-08-26 14:16 -0500
            Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-26 15:23 -0400
            Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-26 19:03 -0400
              Re: Best bang-for-buck uC "Tim Williams" <tmoranwms@gmail.com> - 2017-08-27 14:40 -0500
                Re: Best bang-for-buck uC pcdhobbs@gmail.com - 2017-08-27 14:13 -0700
                Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-27 17:43 -0400
      Re: Best bang-for-buck uC Piotr Wyderski <peter.pan@neverland.mil> - 2017-08-27 11:04 +0200
    Re: Best bang-for-buck uC John Larkin <jjlarkin@highlandtechnology.com> - 2017-08-25 15:23 -0700
  Re: Best bang-for-buck uC antispam@math.uni.wroc.pl - 2017-09-02 00:15 +0000

csiph-web