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
43d4fc82
Kaydet (Commit)
43d4fc82
authored
Ock 17, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bool improvements
Change-Id: Id95748748000eb59e2f9343bca4f7e1c5f15514a
üst
68ff48e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
openclwrapper.cxx
sc/source/core/opencl/openclwrapper.cxx
+3
-3
openclwrapper.hxx
sc/source/core/opencl/openclwrapper.hxx
+2
-2
No files found.
sc/source/core/opencl/openclwrapper.cxx
Dosyayı görüntüle @
43d4fc82
...
...
@@ -494,7 +494,7 @@ int OpenclDevice::initOpenclRunEnv( int argc )
{
registOpenclKernel
();
//initialize devices, context, command_queue
int
status
=
initOpenclRunEnv
(
&
gpuEnv
);
bool
status
=
initOpenclRunEnv
(
&
gpuEnv
);
if
(
status
)
{
return
1
;
...
...
@@ -502,8 +502,8 @@ int OpenclDevice::initOpenclRunEnv( int argc )
//initialize program, kernelName, kernelCount
if
(
getenv
(
"SC_FLOAT"
)
)
{
gpuEnv
.
mnKhrFp64Flag
=
0
;
gpuEnv
.
mnAmdFp64Flag
=
0
;
gpuEnv
.
mnKhrFp64Flag
=
false
;
gpuEnv
.
mnAmdFp64Flag
=
false
;
}
if
(
gpuEnv
.
mnKhrFp64Flag
)
{
...
...
sc/source/core/opencl/openclwrapper.hxx
Dosyayı görüntüle @
43d4fc82
...
...
@@ -121,8 +121,8 @@ struct GPUEnv
cl_command_queue
mpCmdQueue
;
cl_program
mpArryPrograms
[
MAX_CLFILE_NUM
];
//one program object maps one kernel source file
int
mnIsUserCreated
;
// 1: created , 0:no create and needed to create by opencl wrapper
int
mnKhrFp64Flag
;
int
mnAmdFp64Flag
;
bool
mnKhrFp64Flag
;
bool
mnAmdFp64Flag
;
};
struct
SingleVectorFormula
...
...
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