Search:

Type: Posts; User: thamerhatem

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    2,627

    Re: problems with memories

    Hi, thank you for yours time.
    I try to do what you suggested, but doesn't work yet.
    I change the type value of "long unsigned int" for "unsigned int", try change the minor value of DATA_SIZE and...
  2. Replies
    13
    Views
    2,627

    Re: problems with memories

    Here is all of my code:

    #include <fcntl.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <math.h>
    #include <unistd.h>
    #include <sys/types.h>
    #include <sys/stat.h>
  3. Replies
    13
    Views
    2,627

    Re: problems with memories

    dot is a good answer =)
  4. Replies
    13
    Views
    2,627

    problems with memories

    Hi, i don't know what i'm doing wrong, I want calc the sum of many values on array, but when i try put in a for loop with "sum = sum + 4;" for example, this lock my computer and i need reboot system....
  5. Replies
    4
    Views
    1,589

    Re: Double type problem

    pts... do you know any alternative?
  6. Replies
    4
    Views
    1,589

    Re: Double type problem

    Thank you for your answer, and..
    The problem is when i try use double instead of float, with float works right.
    I don't get any error, the number returned is wrong, when i put in output[i] = 1.0...
  7. Replies
    4
    Views
    1,589

    Double type problem

    Hi, I'm trying use double type in openCL, but doesn't work anyway, i want use double for more precision, if have any other type make this, please, tell me.

    if you don't have time for read my code,...
Results 1 to 7 of 8