如何安装aparapi [英] How to install aparapi

查看:191
本文介绍了如何安装aparapi的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找一种在Java中开发openCL的方法。我发现aparapi很有趣,因为它专注于并行化,但也创建openCL代码。据我所知,代码将在有或没有GPU的情况下运行但仍然运行并行。我的麻烦是:我在哪里可以找到有关如何安装的文档? AMD网站经常被指出,但它不包含有关aparapi的信息,我也想知道他们的代码是否适用于Nvidia卡。 Google代码的链接已过时,Github网站也不是很有帮助。非常感谢指向更多文档的指针。

I have been looking to a way to develop openCL in Java. I found aparapi interesting as it focusses on parallelization but creates openCL code as well. As I understand it the code will run with or without a GPU but still run parallized. My trouble is: where can I find documentation on how to install what? The AMD site was often pointed at, but it contains no information about aparapi, I wondered as well whether their code will work on Nvidia cards. The links to Google code is obsolete and the Github site is neither very helpful. A pointer to some more documentation is very much appreciated.

暂时不说:我在Github注意到aparapi脉冲不是很大。从aparapi开始是明智的吗?我以为我最好离开openCL本身,因为它对我来说似乎太低了。但也许有人可以论证我如何做出更明确的决定( LWJGL ?)。

As an aside: I noticed in Github that the aparapi pulse is not overwhelming. Is it wise to start with aparapi? I thought I had better stay from openCL itself because it seemed too low level to me. But maybe somebody can argument how I could make a better founded decision (LWJGL?).

推荐答案

注意:我现在是Aparapi项目的领导者。如果你使用的是版本在maven中心的Aparapi,无需安装任何东西。假设您已经安装了OpenCL的任何实现,那么安装所有必需的东西。 Aparapi通过maven甚至dll / so文件为您的平台提取依赖关系并自动加载。

Note: I'm the current lead of the Aparapi project. If you use the version of Aparapi in maven central, no need to install anything. Assuming you have any implementation of OpenCL installed then everything is installed that needs to be. Aparapi pulls in dependencies through maven and even the dll/so file for your platform and loads it automatically.

此处的完整说明: http://aparapi.com/introduction/getting-started.html

可以在github上找到积极维护的aparapi项目: https://github.com/Syncleus/ Aparapi

The actively maintained project for aparapi can be found on github here: https://github.com/Syncleus/Aparapi

或者网站上的一些信息和文档: http://aparapi.com

Or some information and documentation on the website here: http://aparapi.com

这篇关于如何安装aparapi的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆