clCreateContext with Fermi

Hi all,
I got a problem when running a openCL program with Fermi.
As I observed this command : context = clCreateContext(NULL, 1, &device, NULL, NULL, &status);
is slowed down gradually in Fermi (compared with previous GPU). Furthermore, the execution time of that command is not stable, sometimes it is ~2.7s, and most of times it is ~1.6s.
Is there anyone who encounters the same problem? Did I miss anything?
Thanks for your help,
Tuan

Hi all,
I got a problem when running a openCL program with Fermi.
As I observed this command : context = clCreateContext(NULL, 1, &device, NULL, NULL, &status);
is slowed down gradually in Fermi (compared with previous GPU). Furthermore, the execution time of that command is not stable, sometimes it is ~2.7s, and most of times it is ~1.6s.
Is there anyone who encounters the same problem? Did I miss anything?
Thanks for your help,
Tuan

You can’t create a context without passing a valid platform id. This is no longer correct.

You can’t create a context without passing a valid platform id. This is no longer correct.