[arrayfire] 306/408: fix instantiation of cl::Platform objects
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Sep 21 19:12:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.
commit 162e258a59e2853351a3dbd1ed804959dccd9518
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Fri Aug 21 07:45:22 2015 +0100
fix instantiation of cl::Platform objects
---
src/backend/opencl/platform.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/opencl/platform.cpp b/src/backend/opencl/platform.cpp
index 1fc7a04..d66fb2e 100644
--- a/src/backend/opencl/platform.cpp
+++ b/src/backend/opencl/platform.cpp
@@ -405,7 +405,7 @@ void DeviceManager::markDeviceForInterop(const int device, const fg::Window* wHa
}
// call forge to get OpenGL sharing context and details
- cl::Platform plat = mDevices[device]->getInfo<CL_DEVICE_PLATFORM>();
+ cl::Platform plat(mDevices[device]->getInfo<CL_DEVICE_PLATFORM>());
#ifdef OS_MAC
CGLContextObj cgl_current_ctx = CGLGetCurrentContext();
CGLShareGroupObj cgl_share_group = CGLGetShareGroup(cgl_current_ctx);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git
More information about the debian-science-commits
mailing list