New Cell patents from IBM's Gschwind: the software side :).

Discussion in 'Console Technology' started by Panajev2001a, May 2, 2004.

Thread Status:
Not open for further replies.
  1. Deadmeat3

    Newcomer

    Joined:
    May 2, 2004
    Messages:
    6
    Likes Received:
    0
    ....

    Yap.

    That's Kutaragi's dream, but no other takers...

    That sample code described an interaction between a master and an APU; now imagine the interaction between a master and eight APUs, possibly all running different code block, and you begin to see the horror of CELL programming...

    ??? Which one are you talking about???
     
  2. Farid

    Farid Artist formely known as Vysez
    Veteran Subscriber

    Joined:
    Mar 22, 2004
    Messages:
    3,844
    Likes Received:
    108
    Location:
    Paris, France
    Thanks for the information DeanoC, that's surprising, i heard that MS was planing to give the minimum low level info...
    Interresting if they are doing the contrary, it could mean that Xna is not 100% ready for Xboxnext and since they want developers to develops as soon as possible they might gave them low level infos...

    Or it could mean that this rumor of MS wanting their Xbox being Hardware independant as much as possible, was just Hot air.
     
  3. fxtech

    Newcomer

    Joined:
    Apr 23, 2003
    Messages:
    77
    Likes Received:
    5

    this is not B3D , this is little italy! so i still here in italy , then forgive my english and try to understand me :)

    vabbuono ?
     
  4. pcostabel

    Newcomer

    Joined:
    Jul 24, 2002
    Messages:
    129
    Likes Received:
    0
    Location:
    Culver City, CA
    Re: ....

    We know he couldn't possible program CELL... :roll:
     
  5. Farid

    Farid Artist formely known as Vysez
    Veteran Subscriber

    Joined:
    Mar 22, 2004
    Messages:
    3,844
    Likes Received:
    108
    Location:
    Paris, France
    Ça tombe bien alors, on aura ainsi aucunes difficultés de compréhension! :D

    I'll try to keep my posts in english (or more exactly, gibberish) , even if learning living languages when browsing thoses boards could be practical, i must admit.

    El Pericoloso Sporgersi [​IMG]



    :D :wink:
     
  6. Panajev2001a

    Veteran

    Joined:
    Mar 31, 2002
    Messages:
    3,187
    Likes Received:
    8
    Why ? The Hardware described by that patent looked to me like it could be an abstraction of what we know as Visualizer in Suzuoki's patent: CPU = PU, memory = shared DRAM, Image memory = Image buffer, parallel rendering engine = APUs + Pixel Engine, DMAC = DMAC, etc...

    Can you please expand on this point ?
     
  7. phed

    Newcomer

    Joined:
    Aug 16, 2003
    Messages:
    66
    Likes Received:
    0
    The code mentioned looks to me like a nice API. If you can just upload to all APU's, have some kind of select loop or a better kind of reactor you could use an eventbased approach to coding. It looks like regular network coding,
    So, the threads is not a tangible approach here. So, the "hard coding"-part doesn't seem like anything a lightweight framework could solve.

    If one had a programming language supporting continuations it would be pretty smooth. Especially since each of the APUs runtime is easy to estimate, the idle time on each APU can be reduced by a fair amount.

    But, there's one thing that annoys me. There's a lot of requirements for "static pointers", and that seems pretty backwards. Perhaps some kind of memorymanager could solve this problem.
     
  8. Fafalada

    Veteran

    Joined:
    Feb 8, 2002
    Messages:
    2,773
    Likes Received:
    49
    It's just a simple illustration of calling an APU subroutine. Even with a single APU you wouldn't usually use it like that for graphic processing - APUs don't require master cpu to lead their hand for running and outputing results.

    Method and apparatus for overlay management within an integrated executable for a heterogeneous architecture.

    It would help if you explained what you're asking me. I said the imaging patent barely touched rasterization details, and what it did say, didn't imply software rasterizing.
    I don't see how what you replied has anything to do with that? :oops:

    Not sure, but what do you mean by 'requirement' for static pointers?
     
  9. Megadrive1988

    Veteran

    Joined:
    May 30, 2002
    Messages:
    4,723
    Likes Received:
    242
    hey, nobody's perfect :wink:
     
  10. Deadmeat3

    Newcomer

    Joined:
    May 2, 2004
    Messages:
    6
    Likes Received:
    0
    ...

    Looks like an MPI-style call to me(It is).

    They do, did you notice any return call on the apulet code? The apulet simply processes what is given to it then freezes its stack frame at the end of execution completion, it's up to the cpu to set up the APUlet stack and then collect the result after execution is compled.

    If you can't have APUs return result by itself, this will actually increase, not decrease, the programming complexity, since the coder has to manually pass on the result to the next APUlet. The APU to APU piping capability would have enabled a coder to set up a chain of apulets in CSP style, with data flowing from top to bottom to achieve a parallel execution with minimal burden on the coder.

    I state this; CSP, not MPI or multithreading, is the correct way of engineering a parallel software.

    I don't get it. That patent filing was about keeping the dynamic record of memory map during an execution for debugging purpose, I didn't see any mentioning of dynamic auto apulet upload thing.
     
  11. Fafalada

    Veteran

    Joined:
    Feb 8, 2002
    Messages:
    2,773
    Likes Received:
    49
    They don't, that's just how this example was set up to work.

    APU pipelining is something I've always thought possible (and we've discussed it on this board before). It could be a good solution for certain specific problems, but Imo it's far from a good general approach.

    For starters, you're still reading the wrong patent.
     
  12. MfA

    MfA
    Legend

    Joined:
    Feb 6, 2002
    Messages:
    7,610
    Likes Received:
    825
    What do you mean by CSP? The Communicating Sequantial Processes algebra has little to do with pipelines. It is a formalization of parallel programs with synchronous message passing ... which can be used to prove things about parallel programs assuming they respect some constraints.

    (Slightly simplified ... you need to use synchronous message passing and no shared memory, unless it isnt writeable. Both those restrictions dont need to be as painfull as they sound, bounded FIFOs can turn synchronous into semi-asynchronous message passing and you can still communicate through memory as long as only a single process has read capabilities at a time.)
     
  13. Vince

    Veteran

    Joined:
    Apr 9, 2002
    Messages:
    2,158
    Likes Received:
    7
    Re: ...

    Wait, Faf, the PU touches this? Why does my thinking keep going back to the DMAC and polling the APUs.
     
  14. passerby

    Regular

    Joined:
    Nov 2, 2003
    Messages:
    686
    Likes Received:
    0
    It sounds very messy in a software dev environment for games as opposed to transputer programming(correct term?) env. Optimizing for equal load seems tricky. The nightmare starts when code modifications/maintenance happens - have fun reorganizing code and workload across the x APUs. :twisted:
     
  15. Panajev2001a

    Veteran

    Joined:
    Mar 31, 2002
    Messages:
    3,187
    Likes Received:
    8
    Can you say that the patent implied something that goes against software rasterization ?

    I do not think we can say that as as you said most of the patent described scene subdivision ( tiled in non-overlapping bricks or subdivided in over-lapping bricks and then have each brick tiled, etc... ), network rendering, etc...

    I guess it was the fact that what the patent talked about was just so perfect for someone who wanted a CELL ( ;) ) based networkd renderfarm or that wanted to see distributed real-time rendering in some form, that some of us made the extra step :).
     
  16. Deadmeat4

    Newcomer

    Joined:
    May 4, 2004
    Messages:
    27
    Likes Received:
    0
    ...

    I am not talking about CSP algebra.

    Exactly. You could break down any engine into a set of APUlets, individually coded and tested, bound together by pipes. But this feature requires more capability than what APU's runtime environment provides, so....

    In someways, the CELL approach to synchronization is a mixed blessing. Unlike the traditional SMT where many threads running on called functions manipulate calling function's stack, CELL employs the reverse; the called function on APU never touches the calling function's stack on CPU, it simply computes what's given to it then stops, letting the calling function take care of what to do with the completed result. This approach avoids synchronization problem associated with traditional SMT and allows somewhat simpler development than what I expected of CELL's magnitude.

    However, this is also a double edged sword since it does also restricts the scalability of CELL applications within the scope of the performance of the CPU that they run on. In other word, CELL applications are not going to scale to the order of million processors. But I accept that as a perfect trade for a console processor.
     
  17. I.S.T.

    Veteran

    Joined:
    Feb 21, 2004
    Messages:
    3,174
    Likes Received:
    389
    Jesus H. Christ, Deadmeat. How many bannings will it take for you to realize the mods have decided you aren't allowed here anymore?
     
  18. Almasy

    Regular

    Joined:
    Feb 2, 2003
    Messages:
    817
    Likes Received:
    2
    Location:
    Mexico
    He´s a bug in the Internet, his personality has been coded and dissaminated across countless PCs around the world. That is the only way he found to be able to continue hating on Sony forever.:)
     
  19. I.S.T.

    Veteran

    Joined:
    Feb 21, 2004
    Messages:
    3,174
    Likes Received:
    389
    Didn't Guden start that joke?
     
  20. Almasy

    Regular

    Joined:
    Feb 2, 2003
    Messages:
    817
    Likes Received:
    2
    Location:
    Mexico
    I´m depressed now, not even my jokes are original. :(
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...