Skip to content

Commit cd347cc

Browse files
committed
Fix compiler warning: OpenCL host does not provide half support, so just define it to something that does not cause compiler errors / warnings, will not be used anyway
1 parent b6e66fd commit cd347cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎GPU/GPUTracking/Base/opencl/GPUReconstructionOCLIncludesHost.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include <string>
2626
#include <memory>
2727

28-
typedef cl_half half;
28+
typedef int16_t half; // TODO: Fixme once we have C++23 and proper host side half support
2929

3030
#include "GPULogging.h"
3131

0 commit comments

Comments
 (0)