- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i’m a new programmer on opencl, i’ve to perform a multiplication of 2 complex matrix but i don’t know how to deal with complex matrix on opencl. please any help?
I already tried matrix multiplication with normal numbers.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
Do you already have a version of the matrix multiplication kernel that works on real (non-complex) numbers? If not, this is a good place to get started:
Once you have a matrix multiplication kernel that works on real numbers, to convert to a kernel that works on complex numbers you'll need to change the inner-most loop to perform a complex multiplication and add rather than a real (non-complex) mulitplication and add. The multiplication part can be a bit tricky, but the add is pretty straightforward.
If you get this working can you post your code? My google search found several others asking similar questions, but I didn't find a working example... yet!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page