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
af0694e6
Kaydet (Commit)
af0694e6
authored
Eki 28, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
If we #define MAX_CLKERNEL_NUM 200, we know that it isn't <= 0
Change-Id: Ieadc73ce2bd6f7d11b434312d3ff872a1489307a
üst
c22b6d1d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
openclwrapper.cxx
sc/source/core/opencl/openclwrapper.cxx
+0
-4
openclwrapper.hxx
sc/source/core/opencl/openclwrapper.hxx
+0
-1
No files found.
sc/source/core/opencl/openclwrapper.cxx
Dosyayı görüntüle @
af0694e6
...
@@ -471,10 +471,6 @@ bool OpenCLDevice::buildProgramFromBinary(const char* buildOption, GPUEnv* gpuIn
...
@@ -471,10 +471,6 @@ bool OpenCLDevice::buildProgramFromBinary(const char* buildOption, GPUEnv* gpuIn
bool
OpenCLDevice
::
initOpenCLRunEnv
(
int
argc
)
bool
OpenCLDevice
::
initOpenCLRunEnv
(
int
argc
)
{
{
if
(
MAX_CLKERNEL_NUM
<=
0
)
{
return
true
;
}
if
(
(
argc
>
MAX_CLFILE_NUM
)
||
(
argc
<
0
)
)
if
(
(
argc
>
MAX_CLFILE_NUM
)
||
(
argc
<
0
)
)
return
true
;
return
true
;
...
...
sc/source/core/opencl/openclwrapper.hxx
Dosyayı görüntüle @
af0694e6
...
@@ -31,7 +31,6 @@ if( status != CL_SUCCESS ) \
...
@@ -31,7 +31,6 @@ if( status != CL_SUCCESS ) \
}
}
#define MAX_CLFILE_NUM 50
#define MAX_CLFILE_NUM 50
#define MAX_CLKERNEL_NUM 200
#if defined(_MSC_VER)
#if defined(_MSC_VER)
#ifndef strcasecmp
#ifndef strcasecmp
...
...
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