Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

[Discussion] OpenCL support #71

Open
antinucleon opened this issue Nov 2, 2015 · 7 comments
Open

[Discussion] OpenCL support #71

antinucleon opened this issue Nov 2, 2015 · 7 comments

Comments

@antinucleon
Copy link
Contributor

I notice Android supports OpenCL, which will bring great benefit.

Let's discuss how much work need to be done to make mshadow support OpenCL

@mli @tqchen @piiswrong

@antinucleon
Copy link
Contributor Author

Before fully investigation, I think we need to change:

  • base.h
  • stream_gpu-inl.h
  • tensor_gpu-inl.h
  • reduce.cuh
  • tensor_gpu-inl.cuh

@tqchen
Copy link
Member

tqchen commented Nov 2, 2015

For current OpenCL, this will means switch the expression template to be a code generation system that generate strings (opencl code) which can be compiled send to opencl C++ API.

@antinucleon
Copy link
Contributor Author

I think we'd also make change to cl memory/ buffer stuff, which I need to
do more investigation.
On Mon, Nov 2, 2015 at 11:03 Tianqi Chen [email protected] wrote:

For current OpenCL, this will means switch the expression template to be a
code generation system that generate strings (opencl code) which can be
compiled send to opencl C++ API.


Reply to this email directly or view it on GitHub
#71 (comment).

@paulheideman
Copy link

I've just come across SyCL - C++ templating on top of OpenCL. Might be useful?

@vchuravy
Copy link
Contributor

vchuravy commented Sep 1, 2016

OpenCL 2.2 now support a C++ as a kernel language, that should make it a lot easier to implement support. https://github.com/KhronosGroup/SPIR/tree/spirv-1.1#step-6-creating-spir-v-binaries

@bhack
Copy link

bhack commented Nov 9, 2016

Eigen Tensor was gone in SyCL direction

@szha
Copy link
Member

szha commented Aug 4, 2019

This code base has been donated to the Apache MXNet project per #373, and repo is deprecated. Future development and issue tracking should continue in Apache MXNet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants