Results 1 to 3 of 3

Thread: Newbi: add two matrices

  1. #1
    Junior Member
    Join Date
    Jan 2012
    Posts
    2

    Newbi: add two matrices

    Hi,
    I'm very new to OpenCL. I tried some examples like the vectoradd-program. But how could I pass two matrices to the kernel to add these two and write them in a third matrix?

    Best regards!

  2. #2
    Junior Member
    Join Date
    Jan 2012
    Posts
    2

    Re: Newbi: add two matrices

    Hi,
    or does someone have an implementation of the SAD (sum of absolute differences) algorithm?

    Best regards!

  3. #3

    Re: Newbi: add two matrices

    SAD is not an algorithm but a cost function.
    As you said, it's just the sum of the absolute differences.
    So we can't give you this implementation since this function is used in hundreds of different algorithms.

    Vincent

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •