Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
9bda6170
Kaydet (Commit)
9bda6170
authored
Ara 02, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix build without OpenCL
Change-Id: I15e4495607113eb9bc55a31fee061a9d5384731b
üst
53e5b6be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
formulagroup.cxx
sc/source/core/tool/formulagroup.cxx
+6
-0
No files found.
sc/source/core/tool/formulagroup.cxx
Dosyayı görüntüle @
9bda6170
...
...
@@ -27,6 +27,7 @@
#include <cstdio>
#if HAVE_FEATURE_OPENCL
#ifdef DISABLE_DYNLOADING
extern
"C"
size_t
getOpenCLPlatformCount
(
void
);
...
...
@@ -35,6 +36,7 @@ extern "C" bool switchOpenClDevice(const OUString*, bool, bool);
extern
"C"
sc
::
FormulaGroupInterpreter
*
createFormulaGroupOpenCLInterpreter
();
extern
"C"
void
getOpenCLDeviceInfo
(
size_t
*
,
size_t
*
);
#endif
#endif
namespace
sc
{
...
...
@@ -556,6 +558,9 @@ FormulaGroupInterpreter *FormulaGroupInterpreter::getStatic()
void
FormulaGroupInterpreter
::
fillOpenCLInfo
(
std
::
vector
<
OpenclPlatformInfo
>&
rPlatforms
)
{
#if !HAVE_FEATURE_OPENCL
(
void
)
rPlatforms
;
#else
#ifndef DISABLE_DYNLOADING
osl
::
Module
*
pModule
=
getOpenCLModule
();
if
(
!
pModule
)
...
...
@@ -585,6 +590,7 @@ void FormulaGroupInterpreter::fillOpenCLInfo(std::vector<OpenclPlatformInfo>& rP
::
fillOpenCLInfo
(
&
aPlatforms
[
0
],
aPlatforms
.
size
());
rPlatforms
.
swap
(
aPlatforms
);
#endif
#endif
}
bool
FormulaGroupInterpreter
::
switchOpenCLDevice
(
const
OUString
&
rDeviceId
,
bool
bAutoSelect
,
bool
bForceEvaluation
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment