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
c51a6ffd
Kaydet (Commit)
c51a6ffd
authored
Eki 30, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
error: unused variable 'kSrc' [loplugin]
Change-Id: Ic0b2fd6d16cabdbf732ecbe038f1cee8da05639a
üst
27759f78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
formulagroupcl.cxx
sc/source/core/opencl/formulagroupcl.cxx
+2
-2
No files found.
sc/source/core/opencl/formulagroupcl.cxx
Dosyayı görüntüle @
c51a6ffd
...
@@ -1147,7 +1147,7 @@ public:
...
@@ -1147,7 +1147,7 @@ public:
DynamicKernel
(
boost
::
shared_ptr
<
FormulaTreeNode
>
r
)
:
mpRoot
(
r
),
DynamicKernel
(
boost
::
shared_ptr
<
FormulaTreeNode
>
r
)
:
mpRoot
(
r
),
mpProgram
(
NULL
),
mpKernel
(
NULL
),
mpResClmem
(
NULL
)
{}
mpProgram
(
NULL
),
mpKernel
(
NULL
),
mpResClmem
(
NULL
)
{}
/// Code generation in OpenCL
/// Code generation in OpenCL
std
::
string
CodeGen
()
{
void
CodeGen
()
{
// Travese the tree of expression and declare symbols used
// Travese the tree of expression and declare symbols used
const
DynamicKernelArgument
*
DK
=
mSyms
.
DeclRefArg
<
const
DynamicKernelArgument
*
DK
=
mSyms
.
DeclRefArg
<
DynamicKernelSoPArguments
<
OpNop
>
>
(
mpRoot
);
DynamicKernelSoPArguments
<
OpNop
>
>
(
mpRoot
);
...
@@ -1172,7 +1172,6 @@ public:
...
@@ -1172,7 +1172,6 @@ public:
#if 1
#if 1
std
::
cerr
<<
"Program to be compiled =
\n
"
<<
mFullProgramSrc
<<
"
\n
"
;
std
::
cerr
<<
"Program to be compiled =
\n
"
<<
mFullProgramSrc
<<
"
\n
"
;
#endif
#endif
return
decl
.
str
();
}
}
/// Produce kernel hash
/// Produce kernel hash
std
::
string
GetMD5
(
void
)
std
::
string
GetMD5
(
void
)
...
@@ -1393,6 +1392,7 @@ bool FormulaGroupInterpreterOpenCL::interpret( ScDocument& rDoc,
...
@@ -1393,6 +1392,7 @@ bool FormulaGroupInterpreterOpenCL::interpret( ScDocument& rDoc,
mpKernel
=
new
DynamicKernel
(
Root
);
mpKernel
=
new
DynamicKernel
(
Root
);
try
{
try
{
mpKernel
->
CodeGen
();
// Obtain cl context
// Obtain cl context
KernelEnv
kEnv
;
KernelEnv
kEnv
;
OclCalc
::
setKernelEnv
(
&
kEnv
);
OclCalc
::
setKernelEnv
(
&
kEnv
);
...
...
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