GithubHelp home page GithubHelp logo

harubaru / vkcl Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 677 KB

Vulkan Compute Library

License: BSD 2-Clause "Simplified" License

C 16.93% C++ 81.25% Lua 0.85% Python 0.90% Objective-C 0.04% Meson 0.03%
vulkan vulkan-compute library compute gpgpu-computing

vkcl's Introduction

vkcl

A library written in C++ that is focused on making compute with Vulkan a lot less painless with performance in mind.

How to Build

Library Requirements:

  • Meson Version 0.47 or higher
  • Any C++ Compiler

Test Requirements:

  • glslang for compiling SPIR-V Shaders

Manual Compilation:

After cloning vkcl, run this inside the vkcl directory:

meson build
cd build
ninja

Build Options:

The following build options are available:

  • enable_debug - Enables debugging symbols and Vulkan validation layers.
  • enable_test - Compiles the test program, which can then be run with meson test.

These build options are off by default, but can be enabled like such:

meson configure build -Denable_debug=true -Denable_test=true

License

Simplified BSD License

vkcl's People

Contributors

durcor avatar harubaru avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

durcor

vkcl's Issues

vk_memory: m_Pools.empty() assert fails

The m_Pools.empty() assert fails when the test program calls void Device::Delete();

Test program output:

Detected Devices:
	Radeon (TM) RX 480 Graphics - GPU ID 0

Device Memory Test on GPU ID 0
Buffer 0 integrity: Validated
Buffer 1 integrity: Validated
Buffer 2 integrity: Validated
Buffer 3 integrity: Validated
Success
Compute Shader Test
Buffer 1 contents: 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536
Buffer 2 contents: 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536
Success
Shutting down..
Assertion failed: m_Pools.empty(), file ..\include/vkcl/vk_memory.h, line 15831

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.