Menu

#6 CLTypes for structs

open
nobody
None
5
2010-03-13
2010-03-06
Keldor
No

Right now it takes black magic to create a struct for use on the GPU. It would be really helpful if there were some sort of helper library, similar to ctypes for python.

Discussion

  • nythrix

    nythrix - 2010-03-07

    If I understand that correctly you're suggesting something like this http://docs.python.org/library/ctypes.html#ctypes-fundamental-data-types-2 aren't you? But including stuff like float4.
    Right?

     
  • Keldor

    Keldor - 2010-03-08

    Something along those lines. Basically, I want something where I can transfer/translate a moderately complicated structure without having to break out a calculator. It would also have to take care of the particularly nasty bits, such as alignment.

     
  • nythrix

    nythrix - 2010-03-13

    This is a good idea. I'll see what I can do.

     
  • nythrix

    nythrix - 2010-03-13
    • status: open --> pending
     
  • nythrix

    nythrix - 2010-03-13
    • status: pending --> open
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.