Giter Club home page Giter Club logo

Comments (12)

 avatar commented on May 29, 2024 1

375.26 from 367.x (can't remember exactly which)

from libvc.

oscarbg avatar oscarbg commented on May 29, 2024

Interesting.. have you tested AMD Windows Vulkan driver or Intel Vulkan Linux driver to see dispatch overhead of Vulkan vs OpenCL on this platforms?

from libvc.

 avatar commented on May 29, 2024

Nope I only have NVIDIA products :(

from libvc.

 avatar commented on May 29, 2024

I did try the 364.12 drivers and there is still a difference between OpenCL and Vulkan in this regard. This needs to be improved to make Vulkan a decent alternative. I'm still in contact with NVIDIA regarding this issue.

from libvc.

 avatar commented on May 29, 2024

Sorry for the delay, I haven't heard anything new from NVIDIA. I guess this project can serve as a guideline for the basics of Vulkan compute pipelines in the mean time. I really do hope they manage to improve the compute performance.

from libvc.

Delwin9999 avatar Delwin9999 commented on May 29, 2024

Any update to this? I'm looking at the possibility of using Vulkan on a rather large project that will need both intensive compute capability as well as graphics.

from libvc.

 avatar commented on May 29, 2024

I reported the issue to NVIDIA and they were active in the beginning but then they stopped responding. The benchmark OpenCL vs Vulkan shows no improvement in kernel launch overhead but rather shows OpenCL to be faster which makes this project lose its meaning until NVIDIA fixes this. Theoretically Vulkan should offer lower kernel launch overhead since you can pre-record the command buffer which is not the case in OpenCL.

from libvc.

 avatar commented on May 29, 2024

NVIDIA finally fixed this performance issue, my test case went from 800 ms down to 400 ms in Vulkan, roughly the same as OpenCL! Very good news, now I can really consider working more on this library!

from libvc.

 avatar commented on May 29, 2024

Well I spoke too soon, they seem to have improved OpenCL also in this regard so now it's 200-300 ms OpenCL vs. 400 - 500 ms Vulkan. They cut the time in half for both APIs with this driver update in this regard.

from libvc.

oscarbg avatar oscarbg commented on May 29, 2024

Can share what driver (version) update are you talking about?

from libvc.

Andreyogld3d avatar Andreyogld3d commented on May 29, 2024

Hi! thank you for your project. I have some problem:

  1. Need to replace:
    Program program(device, "/home/alexhultman/libvc/shaders/comp.spv", {BUFFER});

    to
    Program program(device, "shaders/comp.spv", {BUFFER});
  2. I have crash on Intel HD 630:
    if (VK_SUCCESS != vkCreateComputePipelines(this->device, VK_NULL_HANDLE, 1, &pipelineInfo, nullptr, &pipeline)) {
    ,

from libvc.

vanteew29 avatar vanteew29 commented on May 29, 2024

@alexhultman - - @ [](url)

from libvc.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.