Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion RequestAnimationFrame "sinchronisation"?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Evgeny Demidov  
View profile  
 More options Jun 22 2012, 12:29 am
From: Evgeny Demidov <demi...@ipm.sci-nnov.ru>
Date: Fri, 22 Jun 2012 08:29:22 +0400
Local: Fri, Jun 22 2012 12:29 am
Subject: RequestAnimationFrame "sinchronisation"?

sorry for off-topic (I didn't get the answer in WebCL or Nvidia OpenCL
forums yet).
Since FF7 all my MC WebCL based simulations freeze in a while with
CL_INVALID_KERNEL_ARGS error. See simple test
http://www.ibiblio.o...cl/nokia3a.html
<http://www.ibiblio.org/e-notes/webcl/nokia3a.html>
it just executes in an infinite cycle

  function run() {
                   cmdQueue.enqueueNDRangeKernel(kernel, 1, [], [32],
[8], []);
                   cmdQueue.finish();
                   iter++;
                   output.innerHTML = "<br>" + iter;
    setTimeout("requestAnimFrame(run)", 100);
  }
The kernel just makes C[] = A[] + B[]
Sometimes the scripts works fine, sometimes freezes after 20 - 100
iterations. It makes easily 10000-100000 iterations in simple cycle if I
comment  "requestAnimFrame" operator. Why "requestAnimFrame" may be
dangerous (after FF 6) ?
Any suggestions how can I debug my script?

Evgeny Demidov

Error: WebCLCommandQueue::EnqueueNDRangeKernel Failed with error -52.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.