CUDA compare arrays

Posted by user315511 on Stack Overflow See other posts from Stack Overflow or by user315511
Published on 2010-04-13T13:27:48Z Indexed on 2010/04/13 13:53 UTC
Read the original article Hit count: 512

Filed under:
|
|

Hello. Trying to make an app that will compare 1-to-multiple bitmaps. there is one reference bitmap and multiple other bitmaps. Result from each compare should be new bitmap with diffs. Maybe comparing bitmaps rather as textures than arrays? My biggest problem is making kernel accept more than one input pointer, and how to compare the data..

extern "C" __global__ void compare(float *odata, float *idata, int width, int height)

works and following does not (i call the function with enough params)

extern "C" __global__ void compare(float *odata, float *idata, float *idata2, int width, int height)

© Stack Overflow or respective owner

Related posts about cuda

Related posts about c#