Skip to content

Instantly share code, notes, and snippets.

@axsaucedo
Last active September 10, 2020 05:58
Show Gist options
  • Save axsaucedo/1ef2e3b3124cf10ab8e766ae1fb1db01 to your computer and use it in GitHub Desktop.
Save axsaucedo/1ef2e3b3124cf10ab8e766ae1fb1db01 to your computer and use it in GitHub Desktop.
Initial manager creation
// Single header include for Kompute
#include "kompute/Kompute.hpp"
int main() {
// Vulkan resources get created unless passed
kp::Manager mgr(0); // Selects GPU device at index 0
//... continued in next section
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment