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
0ae2d01c
Kaydet (Commit)
0ae2d01c
authored
Eki 03, 2014
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
( void ) -> ()
Change-Id: I0d3d1d9ab5f7bc270c89a2a98d45ebea3cc37e02
üst
e5084fbf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
opbase.cxx
sc/source/core/opencl/opbase.cxx
+2
-2
opbase.hxx
sc/source/core/opencl/opbase.hxx
+17
-17
No files found.
sc/source/core/opencl/opbase.cxx
Dosyayı görüntüle @
0ae2d01c
...
...
@@ -94,7 +94,7 @@ void DynamicKernelArgument::GenDeclRef( std::stringstream& ss ) const
ss
<<
mSymName
;
}
FormulaToken
*
DynamicKernelArgument
::
GetFormulaToken
(
void
)
const
FormulaToken
*
DynamicKernelArgument
::
GetFormulaToken
()
const
{
return
mFormulaTree
->
GetFormulaToken
();
}
...
...
@@ -144,7 +144,7 @@ std::string VectorRef::GenSlidingWindowDeclRef( bool nested ) const
return
ss
.
str
();
}
size_t
VectorRef
::
GetWindowSize
(
void
)
const
size_t
VectorRef
::
GetWindowSize
()
const
{
FormulaToken
*
pCur
=
mFormulaTree
->
GetFormulaToken
();
assert
(
pCur
);
...
...
sc/source/core/opencl/opbase.hxx
Dosyayı görüntüle @
0ae2d01c
...
...
@@ -73,7 +73,7 @@ public:
Children
.
reserve
(
8
);
}
std
::
vector
<
FormulaTreeNodeRef
>
Children
;
formula
::
FormulaToken
*
GetFormulaToken
(
void
)
const
formula
::
FormulaToken
*
GetFormulaToken
()
const
{
return
const_cast
<
formula
::
FormulaToken
*>
(
mpCurrentFormula
.
get
());
}
...
...
@@ -88,7 +88,7 @@ class DynamicKernelArgument : boost::noncopyable
public
:
DynamicKernelArgument
(
const
std
::
string
&
s
,
FormulaTreeNodeRef
ft
);
const
std
::
string
&
GetNameAsString
(
void
)
const
{
return
mSymName
;
}
const
std
::
string
&
GetNameAsString
()
const
{
return
mSymName
;
}
/// Generate declaration
virtual
void
GenDecl
(
std
::
stringstream
&
ss
)
const
=
0
;
...
...
@@ -121,14 +121,14 @@ public:
virtual
~
DynamicKernelArgument
()
{
}
virtual
void
GenSlidingWindowFunction
(
std
::
stringstream
&
)
{
}
const
std
::
string
&
GetSymName
(
void
)
const
{
return
mSymName
;
}
formula
::
FormulaToken
*
GetFormulaToken
(
void
)
const
;
virtual
size_t
GetWindowSize
(
void
)
const
=
0
;
virtual
std
::
string
DumpOpName
(
void
)
const
{
return
std
::
string
(
""
);
}
const
std
::
string
&
GetSymName
()
const
{
return
mSymName
;
}
formula
::
FormulaToken
*
GetFormulaToken
()
const
;
virtual
size_t
GetWindowSize
()
const
=
0
;
virtual
std
::
string
DumpOpName
()
const
{
return
std
::
string
(
""
);
}
virtual
void
DumpInlineFun
(
std
::
set
<
std
::
string
>&
,
std
::
set
<
std
::
string
>&
)
const
{
}
const
std
::
string
&
GetName
(
void
)
const
{
return
mSymName
;
}
virtual
bool
NeedParallelReduction
(
void
)
const
{
return
false
;
}
const
std
::
string
&
GetName
()
const
{
return
mSymName
;
}
virtual
bool
NeedParallelReduction
()
const
{
return
false
;
}
protected
:
std
::
string
mSymName
;
...
...
@@ -145,7 +145,7 @@ class VectorRef : public DynamicKernelArgument
public
:
VectorRef
(
const
std
::
string
&
s
,
FormulaTreeNodeRef
ft
,
int
index
=
0
);
const
std
::
string
&
GetNameAsString
(
void
)
const
{
return
mSymName
;
}
const
std
::
string
&
GetNameAsString
()
const
{
return
mSymName
;
}
/// Generate declaration
virtual
void
GenDecl
(
std
::
stringstream
&
ss
)
const
SAL_OVERRIDE
;
/// When declared as input to a sliding window function
...
...
@@ -160,14 +160,14 @@ public:
virtual
~
VectorRef
();
virtual
void
GenSlidingWindowFunction
(
std
::
stringstream
&
)
SAL_OVERRIDE
{
}
const
std
::
string
&
GetSymName
(
void
)
const
{
return
mSymName
;
}
virtual
size_t
GetWindowSize
(
void
)
const
SAL_OVERRIDE
;
virtual
std
::
string
DumpOpName
(
void
)
const
SAL_OVERRIDE
{
return
std
::
string
(
""
);
}
const
std
::
string
&
GetSymName
()
const
{
return
mSymName
;
}
virtual
size_t
GetWindowSize
()
const
SAL_OVERRIDE
;
virtual
std
::
string
DumpOpName
()
const
SAL_OVERRIDE
{
return
std
::
string
(
""
);
}
virtual
void
DumpInlineFun
(
std
::
set
<
std
::
string
>&
,
std
::
set
<
std
::
string
>&
)
const
SAL_OVERRIDE
{
}
const
std
::
string
&
GetName
(
void
)
const
{
return
mSymName
;
}
virtual
cl_mem
GetCLBuffer
(
void
)
const
{
return
mpClmem
;
}
virtual
bool
NeedParallelReduction
(
void
)
const
SAL_OVERRIDE
{
return
false
;
}
const
std
::
string
&
GetName
()
const
{
return
mSymName
;
}
virtual
cl_mem
GetCLBuffer
()
const
{
return
mpClmem
;
}
virtual
bool
NeedParallelReduction
()
const
SAL_OVERRIDE
{
return
false
;
}
protected
:
// Used by marshaling
...
...
@@ -182,11 +182,11 @@ class OpBase
public
:
typedef
std
::
vector
<
std
::
string
>
ArgVector
;
typedef
std
::
vector
<
std
::
string
>::
iterator
ArgVectorIter
;
virtual
std
::
string
GetBottom
(
void
)
{
return
""
;};
virtual
std
::
string
GetBottom
()
{
return
""
;};
virtual
std
::
string
Gen2
(
const
std
::
string
&
/*lhs*/
,
const
std
::
string
&
/*rhs*/
)
const
{
return
""
;}
virtual
std
::
string
Gen
(
ArgVector
&
/*argVector*/
)
{
return
""
;};
virtual
std
::
string
BinFuncName
(
void
)
const
{
return
""
;};
virtual
std
::
string
BinFuncName
()
const
{
return
""
;};
virtual
void
BinInlineFun
(
std
::
set
<
std
::
string
>&
,
std
::
set
<
std
::
string
>&
)
{
}
virtual
bool
takeString
()
const
=
0
;
...
...
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