vulkan_minimal_compute

Learning and science

code example for learning vulkan compute

SHOW HN2017

vulkan_minimal_compute

A Minimal Code Example of Using Vulkan for Computations on the GPU

github.com

#vulkan#gpu compute#gpgpu#opencl

68points
11comments
#648of 2,242 in 2017
Top 29%of 2017 by points

How HN took it

QuietFewer than 5 comments about the project

1 positive, 1 neutral or asking, 0 mixed, 0 critical, out of 2 comments about the project.

Docs: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Useful for people learning Vulkan thanks to short, well-commented code

    From 1 comment
    • OP here. This is a small code example of how to use Vulkan for compute operations. Only ~400LOC. It's pretty short, and has plenty of comments, so it should be useful for people…
      erkaman on HN

Requests

  • Add a higher-level wrapper that hides common compute setup details

    From 1 comment
    • Has someone created a wrapper or higher-level API that takes care of some of the details for common use-cases? For example, say I don't need to optimize my command submittal, or…
      ilaksh on HN
  • Bring Vulkan into TensorFlow-style projects

    From 1 comment
    • It would be great to contribute some of this to https://github.com/hughperkins/tf-coriander (which is a port of tensorflow to opencl). Mainline TF is not moving to opencl because…
      sandGorgon on HN

Questions

  • Is Vulkan expected to replace OpenCL for GPGPU?

    From 1 comment
    • I haven't used GPGPU in a while. Is Vulkan expected to take over from OpenCL?
      sorenjan on HN
  • How will OpenCL and Vulkan APIs be merged?

    From 1 comment
    • Can you explain this a bit more clearly? As I understood it, OpenCL's compute API will look like Vulkan's functions and nothing from Vulkan side will change (interpreting this…
      ktta on HN

Alternatives named

  • OpenCL

    From 2 comments
    • currently OpenCL supports more devices.
      mangix on HN
    • I haven't used GPGPU in a while. Is Vulkan expected to take over from OpenCL?
      sorenjan on HN
  • tf-coriander

    From 1 comment
    • It would be great to contribute some of this to https://github.com/hughperkins/tf-coriander (which is a port of tensorflow to opencl). Mainline TF is not moving to opencl because…
      sandGorgon on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/14631674)