Search:

Type: Posts; User: a.mirzaean

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,354

    Re: COMMAND QUEUE weird behaviour

    i'm using mac os x lion
    i recently find a program(gtxcardstatus) that enable me to switch between graphics card, by default my graphic card is on dforce 9400 but i could change it on force9600 and...
  2. Replies
    2
    Views
    1,354

    Re: COMMAND QUEUE weird behaviour

    because i have two graphics card ( nvidia gforce 9600 & nvidia force 9400 )
    when i build a command queue relative to gforce 9600 i get result of my code but when i
    build command queue relative to ...
  3. Replies
    5
    Views
    1,721

    Re: CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR

    i have massive data ,in fact my datas are blocks with 16 int number in it. according to
    this fact i need to use vector data in kernel.
  4. Replies
    5
    Views
    1,721

    Re: CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR

    hi

    nvidia gforce gt 9600

    suppose clgetdeviceinfo with option CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT return
    16 for when device is cpu
    my mean of vector programming is like this:
    int16...
  5. Replies
    5
    Views
    1,721

    CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR

    hi all

    i thought that gpus are kinda vector programming tools , but how that possible while,
    when i get info
    of gpu device with clGetDeviceInfo and option CL_DEVICE_PREFERRED_VECTOR_WIDTH_TYPE...
  6. Replies
    2
    Views
    1,354

    COMMAND QUEUE weird behaviour

    hi

    sometimes i get CL_INVALID_COMMAND_QUEUE error but sometimes i don't(with same data ) and everything is all right? what is wrong?? is it relative to opencl framwork or relative to os(macos x)...
  7. Replies
    5
    Views
    2,765

    Re: CL_INVALID_COMMAND_QUEUE

    i found something:
    actually when we run kernel with global_size=m and local_size=1 on gpu opencl spread kernel
    between m "compute unit" that each one has only a work item but we have different...
  8. Replies
    5
    Views
    2,765

    Re: CL_INVALID_COMMAND_QUEUE

    hi

    when i comment "clFinish(command_queue)" the while loop finish correctly( i can see Round 0 ...
    till Round10 ... in output) but after while loop i get same error "error code -36" but this time...
  9. Replies
    5
    Views
    2,765

    Re: CL_INVALID_COMMAND_QUEUE

    i entirely commented kernel content but nothing changed i still take that error?
  10. Replies
    5
    Views
    2,765

    Re: CL_INVALID_COMMAND_QUEUE

    hi

    what are different between cpu and gpu in execution kernel,
    i mean, when i run kernel on gpu with global_size=64 and local_size=1 and then run it with same
    parameter global_size=64 and...
  11. Replies
    5
    Views
    2,765

    CL_INVALID_COMMAND_QUEUE

    hi all

    i run my code on cpu device and everything is all right, but when i run it ongpu device i get
    error 36 that according to cl.h it corresponding to CL_INVALID_COMMAND_QUEUE
    this is a...
  12. Replies
    10
    Views
    3,479

    Re: CL_DEVICE_TYPE_CPU

    nvidia only
  13. Replies
    10
    Views
    3,479

    Re: CL_DEVICE_TYPE_CPU

    hey

    i change CL_DEVICE_TYPE_ALL to CL_DEVICE_TYPE_CPU and CD_DEVICE_TYPE_GPU in turn
    both work properly. see it is cpu output:


    Number of platforms: 1
    CL_PLATFORM_PROFILE: FULL_PROFILE...
  14. Replies
    10
    Views
    3,479

    Re: CL_DEVICE_TYPE_CPU

    hey sakis
    i check your code, it seems work correctly :?:
    here outputs:
    Number of platforms: 1
    CL_PLATFORM_PROFILE: FULL_PROFILE
    CL_PLATFORM_VERSION: OpenCL 1.1 (Apr 9 2012 19:41:45)...
  15. Replies
    10
    Views
    3,479

    Re: CL_DEVICE_TYPE_CPU

    hey
    thanks for reply
    my problem solved, i just hadn't selected correct device type :roll:
    i mean, in my code
    const cl_device_type opencl_device_type[] = { CL_DEVICE_TYPE_CPU, CL_DEVICE_TYPE_GPU...
  16. Replies
    10
    Views
    3,479

    CL_DEVICE_TYPE_CPU

    hey
    i have wrote a program that take device information, but problem is when i use
    CL_DEVICE_TYPE_GPU everything is all right but when i want to use
    CL_DEVICE_TYPE_CPU something wrong?

    it some...
  17. Replies
    2
    Views
    2,411

    Re: clEnqueueNDRangeKernel, error code -54

    thanks
    :D
  18. Replies
    2
    Views
    2,411

    clEnqueueNDRangeKernel, error code -54

    hey guys
    i'm a new boy in opencl , when i run my program i take "clEnqueueNDRangeKernel, error code -54" i check "clSetKernelArg" out, and everything seems right, i don't know what else to do??...
Results 1 to 18 of 18