MSAOpenCL particles on OpenGL 4.x

Hi, folks! I am playing with particles on OpenCL via MSAOpenCL addon. The example of particle system works fine on OpenGL2.0. Is somewhere the updated example for OpenGL 4.x ?

The problem is in a draw method, when called:

glVertexPointer(3, GL_FLOAT, 0, 0);

I add simple shaders:

#version 410

layout (location=0) in vec3 VertexPosition;

void main() {
    gl_PointSize = 20.0;
    gl_Position = vec4(VertexPosition,1.0);

#version 410

layout (location=0) out vec4 FragColor;

void main() {
    vec3 Color = vec3(1.0,0.5,1.0);
    float pct = distance(gl_PointCoord.xy, vec2(0.5, 0.5));
    if(pct < 0.5){
        FragColor = vec4(Color, 1.0);
    } else {
        FragColor = vec4(Color, 0.0);

Then I tried to fix OpenGL2 code like this:

glBindBuffer(GL_ARRAY_BUFFER, GLUvbo);
glVertexAttribPointer( 0, 3, GL_FLOAT, GL_FALSE, 0, (GLubyte *)NULL );

but it seems to be wrong because of the black screen.
Any ideas how make MSAOpenCL particles example works on OpenGL4.x???