Skip to content

Commit 39280d8

Browse files
authored
Merge branch 'master' into master
2 parents 70b5309 + 6e5380d commit 39280d8

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

scripts/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
click==7.1.2
33

44
# Dev dependencies
5-
black==19.10b0
5+
black==26.3.1
66
quom==1.2.0
77
Sphinx==3.2.1
88
sphinx_material==0.0.30

src/include/kompute/Algorithm.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ class Algorithm
291291

292292
void destroy();
293293

294-
private:
294+
protected:
295295
// -------------- NEVER OWNED RESOURCES
296296
std::shared_ptr<vk::Device> mDevice;
297297
std::vector<std::shared_ptr<Memory>> mMemObjects;
@@ -310,6 +310,7 @@ class Algorithm
310310
std::shared_ptr<vk::Pipeline> mPipeline;
311311
bool mFreePipeline = false;
312312

313+
private:
313314
// -------------- ALWAYS OWNED RESOURCES
314315
void* mSpecializationConstantsData = nullptr;
315316
uint32_t mSpecializationConstantsDataTypeMemorySize = 0;

src/include/kompute/Sequence.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ class Sequence : public std::enable_shared_from_this<Sequence>
276276
*/
277277
void destroy();
278278

279-
private:
279+
protected:
280280
// -------------- NEVER OWNED RESOURCES
281281
std::shared_ptr<vk::PhysicalDevice> mPhysicalDevice = nullptr;
282282
std::shared_ptr<vk::Device> mDevice = nullptr;
@@ -298,6 +298,7 @@ class Sequence : public std::enable_shared_from_this<Sequence>
298298
bool mRecording = false;
299299
bool mIsRunning = false;
300300

301+
private:
301302
// Create functions
302303
void createCommandPool();
303304
void createCommandBuffer();

0 commit comments

Comments
 (0)