Boost logo

Boost :

Subject: [boost] [gsoc18] ublas project 3
From: Aperjump (wangwei_aperion_at_[hidden])
Date: 2018-01-27 23:15:42

I'm Wei Wang, a CS master student focusing on high-performance computing
field. `boost::ublas` project 3 adding GPU computation interests me a lot
and I'd like to help add this feature to ublas. I find this project was also
on last years' list and I'm curious if anyone did this before or on which
stage he/she has finished.

I've already read the initial source code of `ublas` in `boost 1.29`(I also
read 1.66 API, and found it add one concept `container`, which used to be
`bounded_array` and `unbounded_array`). I wrote a passage describing its
template parameter deduction relationships. Besides, I wrote a series blogs
teaching how to use openCL efficiently with proper data partition and memory

This is my first time participating in GSOC, and I'm a bit of confused on
following question:
1. Integrating openCL requires preparing for context, command_queue, event
and other "environment objects", should they also be included in this lib?
2. Take matrix matrix multiplication A*B for example. The last stage before
matrix copy assignment is in `matrix_matrix_prob` class and its evaluation
requires loop through all items on both matrix. If I want to add GPU compute
features, I need to launch kernel for each computation expression at this
step, but it seems to be contradictory to `ublas`'s lazy evaluation
rationale. How to reconcile that?
3. What should I implement in the competency matrix class? Just integer
matrix or template matrix class?Should I support current `ublas`
interface(those typedefs and traits)?

Best regards,

Wei Wang

Sent from:

Boost list run by bdawes at, gregod at, cpdaniel at, john at