NetBeans OpenCL Pack - plugin detail

OpenCL utilities for the NetBeans IDE.

NetBeans Plugin - NetBeans OpenCL Pack
Plugin owner: mbien
Website: http://michael-bien.com/mbien/tags/jocl
Added: 2011-08-29
License: GPLv2
Category: Programming Languages
Downloaded: 3,548 times
Rating:
 4.46, by 4 users

Plugin Log Show log

Versions available

Download plugin   Download size: 1.27 MB   Last Update: 2011-09-04

What's new in this version

build 1:
- minor bugfix
- auto indentation
build 2:
- minor misc improvements
- OpenCL properties viewer

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

Since I am doing a lot with OpenCL lately I decided to try to improve the tooling around OpenCL a bit. A weekend later the NetBeans OpenCL Pack was born :).

auto completion editor

Features Including:

  • OpenCL Editor with syntax highlighting code completion and CL reference pages integration
  • OpenCL compiler integration
  • In-editor annotations of compiler warnings and errors
  • JOCL project template
  • OpenCL properties inspector

requires JDK7

[ You have to be logged in to be able to comment. ]

User Comments

  

re

yes thats fine. btw you don't have to press the button. its only needed if you like to see the log. The editor checks for compiler errors automatically and shows them in the editor (like the java editor).
Posted by mbien on Mar 10, 2012
  

re

Thank you very much for fast reply
So if i get it right, if i press the "hammer" button which looks to be compile button, is it OK to have have output log like this, even i will do programming in opencl?

build using NVIDIA CUDA platform
log for GeForce 8500 GT

28ms
success
Posted by domino3d on Mar 09, 2012
  

hi domino3d

thats the name of nvidias opencl implementation. They use cuda to run CL. The plugin only lists all implementations which are installed on your system. "NVIDIA CUDA" usually ships whith the graphics driver. Regarding the highlighting.. its possible that something is missing, i'll take a look later.
have a nice day too
Posted by mbien on Mar 09, 2012
  

*

Hi,
i have question, so i have this plugin installed and when i open cl file, in the top right corner i can not choose from drop-down list anything else then CUDA
like on your second picture http://lh5.googleusercontent.com/-l3koZr7BX-4/TlwDOyVF0rI/AAAAAAAAAIk/yp2jvMvN8qQ/cl-editor.png
and some of the commands in the file are not higlighted, its like not all commands are there, i am beginner in OpenCL so if it have to be this way its ok :)
have a nice day
Posted by domino3d on Mar 09, 2012
  

Re: Installation Issues

you have to make sure that NB itself uses the 1.7 sdk otherwise you won't be able to install the plugin.
http://wiki.netbeans.org/FaqJdkHome
(etc/netbeans.conf)
Posted by mbien on Nov 08, 2011
  

Installation Issues

I am curious if anyone else has had any issues with installing the opencl-editor and opencl-util packages? I have assigned the JDK7 as the java platform, but I still get a frustrating error that says, I am not using 1.7, when in fact I am. Both in the project properties sources and libraries categories have jdk7 and platform 1.7 assigned. Is there some where else that needs it? Does my project need to be created after I install jdk7? (I installed 7 after I had already written my opencl project). I've tried restarting NetBeans, but still no luck. Any advice?

*** EDIT ***
So although I had assigned 1.7 to be the active platform, it did not work. However I later removed 1.6 and JDK6.x from my computer entirely. After rebooting NetBeans, it asked if I wanted to use the default JDK, I clicked yes, and everything works. Looking at the properties window, 1.7 is now the default JDK.

My *guess* is that, maybe the plugin uses the default JDK automatically, and not the project assigned JDK... Maybe there is a way in NetBeans to re-assign the default JDK but I did not see it. Anyway I hope will be helpful to others who have this problem. If anyone else can shed some light on the issue I would be interested in hearing about it.
Posted by mwjohnson on Nov 08, 2011
  

re: Code Formatting and auto indent

auto indent is now implemented in the latest version.
Posted by mbien on Sep 01, 2011
  

Code Formatting and auto indent

Hi,

Thank you so much for the plugin. However, I find that code formatting and auto indent are not working fine in OpenCL editor. Is my installation correct or not?
Posted by danleepw on Aug 31, 2011
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo