Announcement

Collapse
No announcement yet.

LWJGL 3.3 Released For This Popular Java Library - OpenCL 3.0 Added, New Bindings

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • brucethemoose
    replied
    Originally posted by Alexmitter View Post

    So, when you spend thousands for your closed instruction set closed hardware "open"POWER workstation, your wish is to play Minecraft on it?
    TBH even the biggest mainframes couldn't handle a big Forge server :P

    Leave a comment:


  • Developer12
    replied
    Originally posted by Jabberwocky View Post

    Disclaimer I am not a CUDA dev. That "C code" looks like device kernel (used to create Nvidia PTX IR). You probably can't use CUDA without specifying it to the driver. Sure they could have hidden it away in a seperate file, but IMO it's better to show the nasty part in a single file... at least for basic sample code. AFAIK there's no Java -> PTX ASM. I doubt you could even use the latest C or C++ standard in the PTX compiler. The same goes for OpenCL (take a look at mining software).

    https://docs.nvidia.com/cuda/nvrtc/i...p__compilation

    IMO GPU compute is nasty on all platforms in all languages. Hopefully SYCL will change this in the future.
    Not sure what I was expecting to be honest. Probably a set of basic primitive operations like pytorch/numpy will provide, and a way to string them together.

    Dunno how feasible that would actually be to implement though. I guess you could have a java object get passed around and keep track of the operators it went through, then use that to build a pipeline behind the scenes.

    Leave a comment:


  • Jabberwocky
    replied
    Originally posted by Developer12 View Post
    I don't really care that they're running the latest version of CUDA, or especially OpenCL. (How are games written in java even making use of these anyway? How are they exposed?)

    (Edit: oh dear god. https://github.com/LWJGL/lwjgl3/blob...HelloCUDA.java They're embedding C code into the java app and compiling it.)
    Disclaimer I am not a CUDA dev. That "C code" looks like device kernel (used to create Nvidia PTX IR). You probably can't use CUDA without specifying it to the driver. Sure they could have hidden it away in a seperate file, but IMO it's better to show the nasty part in a single file... at least for basic sample code. AFAIK there's no Java -> PTX ASM. I doubt you could even use the latest C or C++ standard in the PTX compiler. The same goes for OpenCL (take a look at mining software).

    https://docs.nvidia.com/cuda/nvrtc/i...p__compilation

    IMO GPU compute is nasty on all platforms in all languages. Hopefully SYCL will change this in the future.

    Leave a comment:


  • sykobee
    replied
    Originally posted by jonix View Post

    Wait, that mean I can run minecraft on my Raspberry Pi now?

    That is interesting
    I was running Java Minecraft on a Pi last year. However there are a bunch of steps to take to get it to run, there are guides.

    And the performance is abysmal because the GPU is so weak (it hasn't made the same gains in the SoC as the CPU has since the device was released).

    Leave a comment:


  • Developer12
    replied
    Originally posted by Alexmitter View Post

    So, when you spend thousands for your closed instruction set closed hardware "open"POWER workstation, your wish is to play Minecraft on it?
    Somebody doesn't know a damn fucking thing about how OpenPOWER operates. Or LibreSoC for that matter.

    Leave a comment:


  • systemless
    replied
    And now we wait 3 years until Mojang updates LWJGL in minecraft

    Leave a comment:


  • Alexmitter
    replied
    Originally posted by Developer12 View Post
    It's really nice to see them pick up support for ARM platforms on windows and linux. But, I really want to see support for OpenPOWER. There have been unofficial patches circulating for a while now, but upstream seems to be confused about old mac systems. That and maybe not having a machine to do CI testing?

    LWJGL is the last damn component that prevents me from being able to run modded minecraft on a POWER9 system long into retirement.
    So, when you spend thousands for your closed instruction set closed hardware "open"POWER workstation, your wish is to play Minecraft on it?

    Leave a comment:


  • jonix
    replied
    Originally posted by brucethemoose View Post
    Wasn't this library a major blocker/issue for running Java Minecraft on ARM hardware?
    Wait, that mean I can run minecraft on my Raspberry Pi now?

    That is interesting

    Leave a comment:


  • Developer12
    replied
    Originally posted by brucethemoose View Post
    Wasn't this library a major blocker/issue for running Java Minecraft on ARM hardware?
    Yes. Still is for POWER.

    Leave a comment:


  • brucethemoose
    replied
    Wasn't this library a major blocker/issue for running Java Minecraft on ARM hardware?

    Leave a comment:

Working...
X