Search:

Type: Posts; User: BratSinot

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,838

    Re: Arbitrary-precision arithmetic

    I'm stupid. I did not immediately find the source from the second link.
  2. Replies
    3
    Views
    1,838

    Re: Arbitrary-precision arithmetic

    Second link interesting, but not usefull. But i find that document:
    http://meseec.ce.rit.edu/eecc250-winter ... 7-2000.pdf

    And now I'm working to create a double and float128. If I succeed, will...
  3. Replies
    3
    Views
    1,838

    Arbitrary-precision arithmetic

    Hello there!

    There any ready-made realization of arbitrary-precision arithmetic of floating point numbers?
  4. Re: How Can i work with matrix inside a kernel?

    Even in Nvidia examples, uses one-dimensional array:


    /*
    * Copyright 1993-2010 NVIDIA Corporation. All rights reserved.
    *
    * Please refer to the NVIDIA end user license agreement (EULA)...
  5. Re: How Can i work with matrix inside a kernel?

    Hm... For example, I started using one-dimensional array. And the one-dimensional array uses less memory, because there are no pointers.
  6. Thread: 2D Vectors

    by BratSinot
    Replies
    2
    Views
    1,040

    Re: 2D Vectors

    You know about math operation called "Cross product"(or something like that, i badly know English math terms), [a, b]?
    http://en.wikipedia.org/wiki/Cross_product
  7. Replies
    7
    Views
    2,276

    Re: OCL programm without *.cl file

    ???, ? ????? ?????, ??? ???? ???????? ??????? ? ??????????????? ????????? ?? ??????. ? ????? ?? ???????? ??????? ? ???????? ???? ? ???????? ??????? ????? ???? ???????, ??????? OpenCL ?????...
  8. Replies
    7
    Views
    2,276

    Re: OCL programm without *.cl file

    No, i mean, without source_str, without extend file. I mean something like that:


    __kernel void mandel(<some arguments>)
    {
    <some code>
    }

    int main(void)
    {
  9. Replies
    7
    Views
    2,276

    Re: OCL programm without *.cl file

    Sorry, i little not understand you.
  10. Thread: 2D Vectors

    by BratSinot
    Replies
    2
    Views
    1,040

    2D Vectors

    Hello there!

    Reading the specification OpenCL i got an idea that instead of complex numbers, you can use two-dimensional vector. But i don't understand, why i can't multiply them? Why i should use...
  11. Replies
    7
    Views
    2,276

    OCL programm without *.cl file

    Hello there!

    Now i use code like that:


    fp=fopen("mandel.cl", "r"); /*open file with OCL programm*/
    source_str = (char*)malloc(MAX_SOURCE_SIZE);
    source_size = fread(source_str, 1,...
Results 1 to 11 of 13