Search:

Type: Posts; User: galexxj

Search: Search took 0.00 seconds.

  1. If do not use build option "-cl-opt-disable", the...

    If do not use build option "-cl-opt-disable", the result seems to be right.

    In my mind disable-opt will be slow but more stable, it's a strange case.

    But in the case of enable-opt, there are...
  2. Thanks, my host side code: #include "stdafx.h"...

    Thanks, my host side code:

    #include "stdafx.h"

    #include <CL/cl.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <iostream>
    #include <cstring>
    #include <string>
  3. I debug the kernel using codexl. On device...

    I debug the kernel using codexl.

    On device A7970 the screenshot shows when it runs to the breakpoint "if(id == 0)" , the value of out2 is 0x05 but actually I gets 0xd7 in the cpu memory.

    40
  4. Thank you very much, I tried it. for (t = 0 ;...

    Thank you very much, I tried it.

    for (t = 0 ; t < stop ; t++){
    W[t] = ((unsigned int)plain[t * 4]) << 24;
    W[t] |= ((unsigned int)plain[t * 4 + 1]) << 16;
    W[t] |= ((unsigned int)plain[t...
  5. Different result between AMD and Nvidea devices.

    Hi all,
    My kernel works well on Nvidea GTX 560 GPU device but works error on AMD A7970 device. The source code list bellow.
    A7970's outputs is 0xd7 eb 6a d7 d7 eb 6a d7, but GTX560's is 0xd7...
Results 1 to 5 of 5