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
5c8f76ff
Kaydet (Commit)
5c8f76ff
authored
Kas 12, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add comment that replies to the question in comment above
Change-Id: Iad8896df4491b2b4363fb2d16134e92dd9545c35
üst
de99aa16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
openclwrapper.cxx
sc/source/core/opencl/openclwrapper.cxx
+9
-0
No files found.
sc/source/core/opencl/openclwrapper.cxx
Dosyayı görüntüle @
5c8f76ff
...
...
@@ -909,8 +909,17 @@ bool switchOpenCLDevice(const OUString* pDevice, bool bAutoSelect, bool bForceEv
OpenCLDevice
::
initOpenCLAttr
(
&
env
);
// why do we need this at all?
// (Assuming the above question refers to the mpArryDevsID
// initialisation below.) Because otherwise the code crashes in
// initOpenCLRunEnv(). Note that the initOpenCLAttr() call above
// sets mnIsUserCreated to 1, thus the code in initOpenCLRunEnv()
// that would initialise mpArryDevsID is not executed. Confused?
// You should be.
OpenCLDevice
::
gpuEnv
.
mpArryDevsID
=
(
cl_device_id
*
)
malloc
(
sizeof
(
cl_device_id
)
);
OpenCLDevice
::
gpuEnv
.
mpArryDevsID
[
0
]
=
pDeviceId
;
return
!
OpenCLDevice
::
initOpenCLRunEnv
(
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