Skip to content
Closed
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
798ba17
add datatype enum to python module (#404)
koubaa Dec 10, 2024
82bc222
Add noexcept to all constructors to explicitly state no exception thr…
ThePseudo Feb 11, 2025
08a5261
Remove copy operations from classes in Kompute (#412)
ThePseudo Feb 18, 2025
fcf0f34
Fix noexcept missing from OpMemoryBarrier (#413)
axsaucedo Mar 6, 2025
9fb1876
414 support for 1 4 headers (#415)
axsaucedo Mar 6, 2025
b4f74cb
Fix syntax error (MSVC) in Manager.cpp (#418)
jsrgb Mar 19, 2025
63b84b3
Fix compile error in android (#423)
zlaazlaa May 25, 2025
5ad7972
Make spdlog and fmt mutually exclusive and support -Werror=missing-br…
zfergus May 30, 2025
9dd9c71
Add missing eDeviceAndHost MemoryType to the Python Bindings (#424)
robquill Jun 10, 2025
1304c0f
feat: Add log library linking to Android build (#428)
zlaazlaa Jul 12, 2025
3160b6a
Fix python SpecConst and PushConst bugs (#430)
axsaucedo Jul 12, 2025
d76e86b
Update Python Matmul examples (#434)
n-jay Oct 5, 2025
77a0a0d
update internal gtest to v1.17.0 (#437)
TinyTinni Dec 5, 2025
2488e92
Fix incorrect creation of python arrays in Tensor.data (#440)
robquill Jan 12, 2026
ad03e3b
Updated to pybind 3.0.0 (#431)
axsaucedo Jan 12, 2026
38a1a81
Clarify status of llama.cpp in README (#446)
axsaucedo Jan 12, 2026
7f1edae
adding kompute example using debug printf
Jan 21, 2026
67a0a84
adding link to the draft article
Jan 21, 2026
9cc8eca
Updating the readme for the debug statement example
Feb 3, 2026
d2e316b
Adding in the example shader, gitignore targets it so needed to force in
Feb 3, 2026
2d69587
Modifying the comment to include bytes in the comment on message length
Feb 3, 2026
1030b8b
Correcting the readme for spelling mistakes in vulkan_ext_printf
Feb 3, 2026
19caffe
Fix family queue selection in tests (#448)
TinyTinni Jan 29, 2026
8fbcef0
removes compile definition defining for spdlog target (#449)
TinyTinni Jan 30, 2026
958a55e
adding kompute example using debug printf
Jan 21, 2026
fb328f7
adding link to the draft article
Jan 21, 2026
4d5f5b1
Updating the readme for the debug statement example
Feb 3, 2026
466aaed
Merge branch 'master' into master
eokeeffe Feb 4, 2026
6c658f9
Merge branch 'KomputeProject:master' into master
eokeeffe Sep 8, 2026
0d2f96f
This helped with a vector and memcpy issue I was having, was spending…
Sep 8, 2026
9c38f44
Merge branch 'master' of https://github.com/eokeeffe/kompute
Sep 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions src/Tensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,10 @@ Tensor::getPrimaryBufferUsageFlags()
{
switch (this->mMemoryType) {
case MemoryTypes::eDevice:
case MemoryTypes::eHost:
case TensorTypes::eHost:
return vk::MemoryPropertyFlagBits::eHostVisible |
vk::MemoryPropertyFlagBits::eHostCoherent;
break;
case MemoryTypes::eDeviceAndHost:
return vk::BufferUsageFlagBits::eStorageBuffer |
vk::BufferUsageFlagBits::eTransferSrc |
Expand All @@ -310,8 +313,11 @@ vk::BufferUsageFlags
Tensor::getStagingBufferUsageFlags()
{
switch (this->mMemoryType) {
case MemoryTypes::eDevice:
return vk::BufferUsageFlagBits::eTransferSrc |
case TensorTypes::eDevice:
return vk::MemoryPropertyFlagBits::eHostVisible |
vk::MemoryPropertyFlagBits::eHostCoherent |
vk::MemoryPropertyFlagBits::eHostCached |
vk::BufferUsageFlagBits::eTransferSrc |
vk::BufferUsageFlagBits::eTransferDst;
break;
default:
Expand Down
Loading