8000 GitHub - xiaoxTM/tensor: tensor library for C++
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

xiaoxTM/tensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Tensor Library

Tensor library is inspired by numpy and is implemented with similar API.

Prerequist

  • libu (for logging and test)
  • gcc
  • -std > c++11

Workflow

u-tensor.hpp --> u-op.hpp --> u-cpu-op.hpp
                     |
                     V
                u-gpu-op.hpp

Call Process Example [tensor.add]

add (function) --> u::op::Add (class) --> u::op::cpu::add (function) --> u::aop::Add (class)
                        |
                        V
                u::op::gpu::add (function)

ToDo

  • Expression template to implement effectively element-wise operation. Such as a = b + c + d + e + f
  • BLAS introduction
  • gpu CUDA implementation
  • indexing
  • assert ==> Exception

About

tensor library for C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0