Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CL_PROFILING_INFO_NOT_AVAILABLE #6

Open
GoogleCodeExporter opened this issue Dec 20, 2015 · 2 comments
Open

CL_PROFILING_INFO_NOT_AVAILABLE #6

GoogleCodeExporter opened this issue Dec 20, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create a command queue with CL_QUEUE_PROFILING_ENABLE
2. Call a C function who uses it. "call cfunction(command_queue)" "void 
cfuction(cl_command_queue *cmd_queue)"
3. call clGetEventProfilingInfo to get info about the event who used the 
*cmd_queue

What is the expected output? What do you see instead?
Info about the event. CL_PROFILING_INFO_NOT_AVAILABLE.

What version of the product are you using? On what operating system?
Running on Debian 6 kernel 2.6.32, ifort and icpc as compilers.

Please provide any additional information below.


Original issue reported on code.google.com by cezar.a....@gmail.com on 27 May 2013 at 6:25

@GoogleCodeExporter
Copy link
Author

Can you give more details about what you are trying to do. Currently, FortranCL 
does not provide an interface to clGetEventProfilingInfo.

Original comment by xavier.andrade.valencia on 30 Aug 2013 at 11:34

@GoogleCodeExporter
Copy link
Author

I have a huge Fortran program, it is a model called CCATT-BRAMS, used in 
simulations about air quality and weather forecast. This model runs several 
timesteps, so, in our research here, we are trying to write one of the routines 
called by each timestep for GPGPU.
The OpenCL and CUDA codes are writen in C, so, I'm using your interface to 
create a command queue before the timesteps start, this way I can use the same 
command queue in all of them.
Then, I call my C function (OpenCL/CUDA), and I would like to get the profiling 
info from the kernel execution on GPU, to know the total runtime on GPU.

Original comment by cezar.a....@gmail.com on 5 Sep 2013 at 5:02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant