Partners

Virtualbox and __ocl_svml_u8.so

OpenCL application on Fedora 20 on host machine works, and strace says that it loads __ocl_svml_e9.so. On vmachine inside Virtualbox the program fails at clCreateContext; strace says it doesn't find __ocl_svml_u8.so.

/proc/cpuinfo at host machine says that model name is Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz, stepping is 9 and cpuid level is 13. On virtual machine cpuid level is 5. Is this related?

Is there some deep problem with OpenCL and virtualization? If not, known problem  with Virtualbox?

 

Coupling of OpenCL runtime versions between CPU and GPU drivers

I am trying to compare OpenCL kernel performance on some different CPUs, and I would like to use the same device version for this. For the machines that don't have an Intel GPU, I am using the CPU only runtime (3.0.1.15216), which makes the CPU Device report "OpenCL 1.2 (Build 80752)" as the version. That's all fine and good. But one of my machines is an i7-4700EQ with 4600 Graphics. I understand that for this machine, the CPU device support is also provided through the Graphics driver.

Java 多线程编程(生产者和消费者问题以及死锁)

Java线程:并发协作-生产者消费者模型
 
对于多线程程序来说,不管任何编程语言,生产者和消费者模型都是最经典的。就像学习每一门编程语言一样,Hello World!都是最经典的例子。
 
实际上,准确说应该是“生产者-消费者-仓储”模型,离开了仓储,生产者消费者模型就显得没有说服力了。
对于此模型,应该明确一下几点:
1、生产者仅仅在仓储未满时候生产,仓满则停止生产。
2、消费者仅仅在仓储有产品时候才能消费,仓空则等待。
3、当消费者发现仓储没产品可消费时候会通知生产者生产。
4、生产者在生产出可消费产品时候,应该通知等待的消费者去消费。
 
此模型将要结合java.lang.Object的wait与notify、notifyAll方法来实现以上的需求。这是非常重要的。
 
/** 
* Java线程:并发协作-生产者消费者模型 

Android 开发环境搭建教程

在开始Android开发之旅启动之前,首先要搭建环境。打包下载开发环境所需软件http://pan.baidu.com/share/link?shareid=485666&uk=32068149451、jdk安装如果你还没有JDK的话,可以去这里下载,接下来的工作就是安...
 
 

 

在开始Android开发之旅启动之前,首先要搭建环境 。打包下载开发环境所需软件

http://pan.baidu.com/share/link?shareid=521417&uk=3206814945

 

1、jdk安装

如果你还没有JDK的话,可以去这里下载,接下来的工作就是安装提示一步一步走。

Announcing new Beta version of the Intel® SDK for OpenCL™ Applications 2014

Dear OpenCL developers,

I’m happy to announce the availability of the 2014 Beta version of the OpenCL SDK. Sign up and download now here.

The Intel® SDK for OpenCL™ Applications 2014 Beta extends the already supported Windows* operating systems with the Android*OS support. Comparing to the Intel® SDK for OpenCL™ Applications 2013 version, this new 2014 Beta software brings the following new features and capabilities:

Barrier error, when using __local qualified memory

 

"aftrer using barrier function the value in memory, which is qualified as __local, is changed."

 

 

I could narrow down the range.

The problem comes from using barrier when I read and write some data in memory(array), which is qualified as __local.

I didn't see there is some limitation  the memory area must be used as only reading or writing.

But it seems to be operated that there is the cache and when local memory is read, that is saved in cache and flush when I use barrier, which argument is  "CLK_LOCAL_MEM_FENCE"

Subscribe to Partners