Skip to content

Commit c6068a8

Browse files
matborzyszkowskiigcbot
authored andcommitted
Add a new interface version between IGC and NEO for eff64b
.
1 parent a2e1acd commit c6068a8

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

IGC/AdaptorOCL/ocl_igc_interface/igc_features_and_workarounds.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ CIF_DEFINE_INTERFACE_VER_WITH_COMPATIBILITY(IgcFeaturesAndWorkarounds, 2, 1) {
9090

9191
CIF_DEFINE_INTERFACE_VER_WITH_COMPATIBILITY(IgcFeaturesAndWorkarounds, 3, 2) { CIF_INHERIT_CONSTRUCTOR(); };
9292

93+
CIF_DEFINE_INTERFACE_VER_WITH_COMPATIBILITY(IgcFeaturesAndWorkarounds, 4, 2) {
94+
CIF_INHERIT_CONSTRUCTOR();
95+
96+
virtual void SetFtrEfficient64BitAddressing(bool v);
97+
virtual bool GetFtrEfficient64BitAddressing() const;
98+
};
99+
93100
CIF_GENERATE_VERSIONS_LIST(IgcFeaturesAndWorkarounds);
94101
CIF_MARK_LATEST_VERSION(IgcFeaturesAndWorkaroundsLatest, IgcFeaturesAndWorkarounds);
95102

IGC/AdaptorOCL/ocl_igc_interface/impl/igc_features_and_workarounds_impl.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ void CIF_GET_INTERFACE_CLASS(IgcFeaturesAndWorkarounds, 2)::SetMaxOCLParamSize(u
5454
CIF_GET_PIMPL()->OCLCaps.MaxParameterSize = s;
5555
}
5656

57+
bool CIF_GET_INTERFACE_CLASS(IgcFeaturesAndWorkarounds, 4)::GetFtrEfficient64BitAddressing() const {
58+
return CIF_GET_PIMPL()->FeTable.FtrEfficient64BitAddressing;
59+
}
60+
void CIF_GET_INTERFACE_CLASS(IgcFeaturesAndWorkarounds, 4)::SetFtrEfficient64BitAddressing(bool v) {
61+
CIF_GET_PIMPL()->FeTable.FtrEfficient64BitAddressing = v;
62+
}
63+
5764
} // namespace IGC
5865

5966
#include "cif/macros/disable.h"

0 commit comments

Comments
 (0)