Skip to content

Commit 3bad167

Browse files
committed
[opencl] Memory optimization
1 parent a1a65bb commit 3bad167

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/qgsoptions.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,13 +1110,15 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
11101110
"Image support: <b>%5</b><br>"
11111111
"Max image2d width: <b>%6</b><br>"
11121112
"Max image2d height: <b>%7</b><br>"
1113+
"Max mem alloc size: <b>%8</b><br>"
11131114
).arg( QgsOpenClUtils::deviceInfo( QgsOpenClUtils::Info::Name ),
11141115
QgsOpenClUtils::deviceInfo( QgsOpenClUtils::Info::Vendor ),
11151116
QgsOpenClUtils::deviceInfo( QgsOpenClUtils::Info::Profile ),
11161117
QgsOpenClUtils::deviceInfo( QgsOpenClUtils::Info::Version ),
11171118
QgsOpenClUtils::deviceInfo( QgsOpenClUtils::Info::ImageSupport ),
11181119
QgsOpenClUtils::deviceInfo( QgsOpenClUtils::Info::Image2dMaxWidth ),
1119-
QgsOpenClUtils::deviceInfo( QgsOpenClUtils::Info::Image2dMaxHeight )
1120+
QgsOpenClUtils::deviceInfo( QgsOpenClUtils::Info::Image2dMaxHeight ),
1121+
QgsOpenClUtils::deviceInfo( QgsOpenClUtils::Info::MaxMemAllocSize )
11201122
)
11211123
);
11221124
>>>>>>> [opencl] Test with image2d

0 commit comments

Comments
 (0)