1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

renamed gpu::DeviceInfo::has into gpu::DeviceInfo::supports

This commit is contained in:
Alexey Spizhevoy
2011-02-09 12:31:05 +00:00
parent 924670d32c
commit 63806c9ab9
13 changed files with 35 additions and 35 deletions
+3 -3
View File
@@ -56,7 +56,7 @@ public:
size_t freeMemory() const;
size_t totalMemory() const;
bool has(GpuFeature feature) const;
bool supports(GpuFeature feature) const;
bool isCompatible() const;
};
\end{lstlisting}
@@ -108,10 +108,10 @@ Returns the amount of total memory in bytes.
\cvdefCpp{size\_t DeviceInfo::totalMemory();}
\cvCppFunc{gpu::DeviceInfo::has}
\cvCppFunc{gpu::DeviceInfo::supports}
Returns true if the device has the given GPU feature, otherwise false.
\cvdefCpp{bool DeviceInfo::has(GpuFeature feature);}
\cvdefCpp{bool DeviceInfo::supports(GpuFeature feature);}
\begin{description}
\cvarg{feature}{Feature to be checked. See \hyperref[cpp.gpu.GpuFeature]{cv::gpu::GpuFeature}.}
\end{description}