Search:

Type: Posts; User: opencl_JEDI

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,546

    __EMBEDDED_PROFILE__

    Hi,

    I read in the spec that the macro __EMBEDDED_PROFILE__ must be added to the language to do embedded profile
    where exactly in the .cl file does it need to be added?
    and what is the syntax?
    ...
  2. Replies
    0
    Views
    1,545

    Embedded profile

    Hi,
    I'm working with OpenCL in full profile,
    is it possible to implemente the application in embedded profile and run it on a graphics card?
    and if it is, what I need to add to the code to make it...
  3. Replies
    1
    Views
    1,979

    Gaussian blur

    Hi,
    I'm trying to do a gaussian blur on an image (in OpenCL), but all the algorithms I found are for separable gaussian (the blur is done horizontally then vertically), so it's 2 1-dimensionnal...
  4. Replies
    1
    Views
    1,423

    functions called in a kernel

    Hi,

    this is my problem, I have 3 functions in my .cl file and I called them in a kernel. it'a an image processing functions, so I do 3 transformations on the image, now I'm working in the global...
  5. Replies
    3
    Views
    2,877

    Re: OpenCL: Hardware requirements

    Thanks for your reply,
    I was actually looking more for a numerical compliance of the devices,
    for example if we want to developp an implementation for a DSP,
    wath must be the requirements for...
  6. Replies
    3
    Views
    2,877

    OpenCL: Hardware requirements

    Hi,

    I'm trying to find the hardware requirements of devices that are likely to support an OpenCL implementation.
    are all kind of processors compliant? is there a list of requirements?

    Thanks...
  7. Replies
    2
    Views
    1,888

    OpenCL on CPU

    Hi,
    I'm currently working with openCL on GPU,
    I want to know if it's possible tu run Opencl Kernels on CPUs?
    and if it is possible, does the CPU needs to support an Opencl implementation, or any...
  8. Replies
    6
    Views
    6,544

    Re: opencl API : include headers to .cl file

    I did what you said,
    the compiler is working fine,
    actually it's a problem with my code
  9. add header file using clCreateProgramWithSource

    Hi,

    I added a header file to my program using clCreateProgramWithSource,
    because I had errors that the code doesn't recognize variables defined in the .h file
    this is my code:

    const char*...
  10. Replies
    6
    Views
    6,544

    Re: opencl API : include headers to .cl file

    actually I copied this syntaxe from nvidia exemples from sdk, and it's working fine to read .cl file
    it's working with my code too because I have errors returned from my .cl file
    so it can read .cl...
  11. Replies
    1
    Views
    1,506

    error -30 buildprogram

    Hi I use clBuildprogram to build my code,
    and I get an error that I print like this

    shrLog(" Error %i build program !!!\n\n", ciErrNum);
    But I get error -30, how can I get the real error name, ...
  12. Replies
    6
    Views
    6,544

    Re: opencl API : include headers to .cl file

    I did what you said,
    I included the .h file to clCreateProgramWithSource, just as source file, this is my code:

    const char* clSourcefile = "oclfind_obj.cl";// source file
    const char*...
  13. Replies
    6
    Views
    6,544

    opencl API : include headers to .cl file

    Hi,

    I wrote a kernel in a .cl file, but when I include a .h file, and run code,
    I get ""file.h" not found".
    so I read the opencl spec, and found that I have to add the path to the headers to my...
  14. Replies
    1
    Views
    1,954

    include headers to .cl file

    Hi,

    I wrote a kernel in a .cl file, but when I include a .h file, and run code,
    I get ""file.h" not found".
    so I read the opencl spec, and found that I have to add the path to the headers to my...
  15. Re: invalid address space for argument to _kernel function

    I did change the path and use / like this

    ciErrNum = clBuildProgram(cpProgram, 0, NULL, "-I C:/Users/localcontrol/internship/OpenCV/cv/include", NULL, NULL);
    but this time it doesn't run my...
  16. Re: invalid address space for argument to _kernel function

    I added the path to include files to my program like this:

    ciErrNum = clBuildProgram(cpProgram, 0, NULL, "-Ic:\Program Files\OpenCV\cv\include", NULL, NULL);

    like it's described in the opencl...
  17. Re: invalid address space for argument to _kernel function

    Thanks for your reply,

    - is there a type that I can replace vector with, and that is opencl compliant ?

    I also have another question:
    does structures must be defined in .cl file before using...
  18. invalid address space for argument to _kernel function

    Hi,

    I wrote a kernel that takes a vector<int> type as an argument,
    but when I run it the compiler seems not to recognize this type,
    vector<int> is defined in "c:\Program Files\Microsoft Visual...
Results 1 to 18 of 19