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
74ab9fb5
Kaydet (Commit)
74ab9fb5
authored
Kas 06, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bin an unused function
Change-Id: Iedea7622d27e263b21943f7696ff71fb7fbd7c80
üst
aaa0ead8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
25 deletions
+0
-25
openclwrapper.cxx
sc/source/core/opencl/openclwrapper.cxx
+0
-23
openclwrapper.hxx
sc/source/core/opencl/openclwrapper.hxx
+0
-2
No files found.
sc/source/core/opencl/openclwrapper.cxx
Dosyayı görüntüle @
74ab9fb5
...
@@ -615,29 +615,6 @@ bool OpenclDevice::buildProgramFromBinary(const char* buildOption, GPUEnv* gpuIn
...
@@ -615,29 +615,6 @@ bool OpenclDevice::buildProgramFromBinary(const char* buildOption, GPUEnv* gpuIn
return
buildProgram
(
buildOption
,
gpuInfo
,
idx
);
return
buildProgram
(
buildOption
,
gpuInfo
,
idx
);
}
}
int
OpenclDevice
::
compileKernelFile
(
GPUEnv
*
gpuInfo
,
const
char
*
buildOption
)
{
int
idx
;
const
char
*
filename
=
"kernel.cl"
;
fprintf
(
stderr
,
"compileKernelFile ...
\n
"
);
if
(
cachedOfKernerPrg
(
gpuInfo
,
filename
)
==
1
)
{
return
1
;
}
idx
=
gpuInfo
->
mnFileCount
;
bool
bSuccess
=
buildProgramFromBinary
(
buildOption
,
gpuInfo
,
filename
,
idx
);
if
(
!
bSuccess
)
bSuccess
=
buildProgramFromSource
(
buildOption
,
gpuInfo
,
filename
,
idx
);
strcpy
(
gpuInfo
->
mArryKnelSrcFile
[
idx
],
filename
);
gpuInfo
->
mnFileCount
+=
1
;
return
bSuccess
;
}
int
OpenclDevice
::
initOpenclRunEnv
(
int
argc
)
int
OpenclDevice
::
initOpenclRunEnv
(
int
argc
)
{
{
if
(
MAX_CLKERNEL_NUM
<=
0
)
if
(
MAX_CLKERNEL_NUM
<=
0
)
...
...
sc/source/core/opencl/openclwrapper.hxx
Dosyayı görüntüle @
74ab9fb5
...
@@ -172,13 +172,11 @@ public:
...
@@ -172,13 +172,11 @@ public:
static
int
releaseOpenclRunEnv
();
static
int
releaseOpenclRunEnv
();
static
int
initOpenclRunEnv
(
GPUEnv
*
gpu
);
static
int
initOpenclRunEnv
(
GPUEnv
*
gpu
);
static
int
releaseOpenclEnv
(
GPUEnv
*
gpuInfo
);
static
int
releaseOpenclEnv
(
GPUEnv
*
gpuInfo
);
static
int
compileKernelFile
(
GPUEnv
*
gpuInfo
,
const
char
*
buildOption
);
static
int
initOpenclRunEnv
(
int
argc
);
static
int
initOpenclRunEnv
(
int
argc
);
static
int
cachedOfKernerPrg
(
const
GPUEnv
*
gpuEnvCached
,
const
char
*
clFileName
);
static
int
cachedOfKernerPrg
(
const
GPUEnv
*
gpuEnvCached
,
const
char
*
clFileName
);
static
int
generatBinFromKernelSource
(
cl_program
program
,
const
char
*
clFileName
);
static
int
generatBinFromKernelSource
(
cl_program
program
,
const
char
*
clFileName
);
static
int
writeBinaryToFile
(
const
OString
&
rName
,
const
char
*
birary
,
size_t
numBytes
);
static
int
writeBinaryToFile
(
const
OString
&
rName
,
const
char
*
birary
,
size_t
numBytes
);
static
std
::
vector
<
boost
::
shared_ptr
<
osl
::
File
>
>
binaryGenerated
(
const
char
*
clFileName
,
cl_context
context
);
static
std
::
vector
<
boost
::
shared_ptr
<
osl
::
File
>
>
binaryGenerated
(
const
char
*
clFileName
,
cl_context
context
);
static
int
compileKernelFile
(
const
char
*
filename
,
GPUEnv
*
gpuInfo
,
const
char
*
buildOption
);
static
bool
buildProgramFromSource
(
const
char
*
buildOption
,
GPUEnv
*
gpuEnv
,
const
char
*
filename
,
int
idx
);
static
bool
buildProgramFromSource
(
const
char
*
buildOption
,
GPUEnv
*
gpuEnv
,
const
char
*
filename
,
int
idx
);
static
bool
buildProgramFromBinary
(
const
char
*
buildOption
,
GPUEnv
*
gpuEnv
,
const
char
*
filename
,
int
idx
);
static
bool
buildProgramFromBinary
(
const
char
*
buildOption
,
GPUEnv
*
gpuEnv
,
const
char
*
filename
,
int
idx
);
...
...
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