Skip to content

Commit dcf0552

Browse files
committed
Move CCUDAHandler constructor from protected to public
1 parent e993757 commit dcf0552

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/nbl/video/CCUDAHandler.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ class NBL_API2 CCUDAHandler : public core::IReferenceCounted
158158
);
159159
const NVRTC& getNVRTCFunctionTable() const {return m_nvrtc;}
160160

161+
CCUDAHandler(CUDA&& _cuda, NVRTC&& _nvrtc, core::vector<core::smart_refctd_ptr<system::IFile>>&& _headers, core::smart_refctd_ptr<system::ILogger>&& _logger, int _version);
162+
161163
//
162164
inline core::SRange<system::IFile* const> getSTDHeaders()
163165
{
@@ -261,7 +263,6 @@ class NBL_API2 CCUDAHandler : public core::IReferenceCounted
261263
core::smart_refctd_ptr<CCUDADevice> createDevice(core::smart_refctd_ptr<CVulkanConnection>&& vulkanConnection, IPhysicalDevice* physicalDevice);
262264

263265
protected:
264-
CCUDAHandler(CUDA&& _cuda, NVRTC&& _nvrtc, core::vector<core::smart_refctd_ptr<system::IFile>>&& _headers, core::smart_refctd_ptr<system::ILogger>&& _logger, int _version);
265266

266267
~CCUDAHandler() = default;
267268

0 commit comments

Comments
 (0)