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
6fd82243
Kaydet (Commit)
6fd82243
authored
Kas 18, 2013
tarafından
I-Jui (Ray) Sung
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
GPU Calc: fix building error on Windows
Change-Id: I4a7e02c24f82222bdf9fc4fb66504ed3b6b09f34
üst
434d445a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
formulagroupcl.cxx
sc/source/core/opencl/formulagroupcl.cxx
+7
-9
No files found.
sc/source/core/opencl/formulagroupcl.cxx
Dosyayı görüntüle @
6fd82243
...
@@ -493,7 +493,7 @@ public:
...
@@ -493,7 +493,7 @@ public:
{
{
// set 100 as a temporary threshold for invoking reduction
// set 100 as a temporary threshold for invoking reduction
// kernel in NeedParalleLReduction function
// kernel in NeedParalleLReduction function
if
(
NeedParallelReduction
()
)
if
(
/*NeedParallelReduction()*/
false
)
{
{
std
::
string
temp
=
Base
::
GetName
()
+
"[gid0]"
;
std
::
string
temp
=
Base
::
GetName
()
+
"[gid0]"
;
ss
<<
"tmp = "
;
ss
<<
"tmp = "
;
...
@@ -508,7 +508,7 @@ public:
...
@@ -508,7 +508,7 @@ public:
{
{
// set 100 as a temporary threshold for invoking reduction
// set 100 as a temporary threshold for invoking reduction
// kernel in NeedParalleLReduction function
// kernel in NeedParalleLReduction function
if
(
NeedParallelReduction
())
if
(
NeedParallelReduction
()
&&
false
)
{
{
std
::
string
temp
=
Base
::
GetName
()
+
"[0]"
;
std
::
string
temp
=
Base
::
GetName
()
+
"[0]"
;
ss
<<
"tmp = "
;
ss
<<
"tmp = "
;
...
@@ -550,11 +550,9 @@ public:
...
@@ -550,11 +550,9 @@ public:
}
}
else
else
{
{
#ifdef ISNAN
unsigned
limit
=
ss
<<
"0; i < "
<<
nCurWindowSize
<<
"; i++){
\n\t\t
"
;
std
::
min
(
mpDVR
->
GetArrayLength
(),
nCurWindowSize
);
#else
ss
<<
"0; i < "
<<
limit
<<
"; i++){
\n\t\t
"
;
ss
<<
"0; i < "
<<
nCurWindowSize
<<
"; i++)
\n\t\t
"
;
#endif
}
}
return
nCurWindowSize
;
return
nCurWindowSize
;
...
@@ -1074,8 +1072,8 @@ public:
...
@@ -1074,8 +1072,8 @@ public:
KernelEnv
kEnv
;
KernelEnv
kEnv
;
OpenclDevice
::
setKernelEnv
(
&
kEnv
);
OpenclDevice
::
setKernelEnv
(
&
kEnv
);
cl_int
err
;
cl_int
err
;
DynamicKernelSlidingArgument
<
DynamicKernelArgument
>
*
slidingArgPtr
=
DynamicKernelSlidingArgument
<
VectorRef
>
*
slidingArgPtr
=
dynamic_cast
<
DynamicKernelSlidingArgument
<
DynamicKernelArgument
>
*>
dynamic_cast
<
DynamicKernelSlidingArgument
<
VectorRef
>
*>
(
mvSubArguments
[
0
].
get
());
(
mvSubArguments
[
0
].
get
());
cl_mem
mpClmem2
;
cl_mem
mpClmem2
;
...
...
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