Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions src/opencl_depth_packet_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,9 @@ class OpenCLDepthPacketProcessorImpl: public WithPerfLogging
newIrFrame();
newDepthFrame();

#if !defined(CL_ICDL_VERSION)
const int CL_ICDL_VERSION = 2;
#endif
typedef cl_int (*icdloader_func)(int, size_t, void*, size_t*);
#ifdef _MSC_VER
#pragma warning(push)
Expand Down
2 changes: 2 additions & 0 deletions src/opencl_kde_depth_packet_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,9 @@ class OpenCLKdeDepthPacketProcessorImpl: public WithPerfLogging
newIrFrame();
newDepthFrame();

#if !defined(CL_ICDL_VERSION)
const int CL_ICDL_VERSION = 2;
#endif
typedef cl_int (*icdloader_func)(int, size_t, void*, size_t*);
#ifdef _MSC_VER
#pragma warning(push)
Expand Down