[eigen-commits] commit/eigen: 15 new changesets

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen-commits Archives ]


15 new commits in eigen:

https://bitbucket.org/eigen/eigen/commits/4948b2d263d6/
Changeset:   4948b2d263d6
User:        deven-amd
Date:        2018-06-06 14:12:58+00:00
Summary:     Adding support for using Eigen in HIP kernels.

This commit enables the use of Eigen on HIP kernels / AMD GPUs. Support has been added along the same lines as what already exists for using Eigen in CUDA kernels / NVidia GPUs.

Application code needs to explicitly define EIGEN_USE_HIP when using Eigen in HIP kernels. This is because some of the CUDA headers get picked up by default during Eigen compile (irrespective of whether or not the underlying compiler is CUDACC/NVCC, for e.g. Eigen/src/Core/arch/CUDA/Half.h). In order to maintain this behavior, the EIGEN_USE_HIP macro is used to switch to using the HIP version of those header files (see Eigen/Core and unsupported/Eigen/CXX11/Tensor)


Use the "-DEIGEN_TEST_HIP" cmake option to enable the HIP specific unit tests.
Affected #:  50 files

https://bitbucket.org/eigen/eigen/commits/e0a6229a3a94/
Changeset:   e0a6229a3a94
User:        deven-amd
Date:        2018-06-13 16:09:52+00:00
Summary:     syncing this fork with upstream
Affected #:  88 files

https://bitbucket.org/eigen/eigen/commits/e5670ee2db65/
Changeset:   e5670ee2db65
User:        deven-amd
Date:        2018-06-13 16:26:18+00:00
Summary:     moving Half headers from CUDA dir to GPU dir, removing the HIP versions
Affected #:  9 files

https://bitbucket.org/eigen/eigen/commits/0e8e59fcb689/
Changeset:   0e8e59fcb689
User:        deven-amd
Date:        2018-06-14 14:21:54+00:00
Summary:     updates based on PR feedback

There are two major changes (and a few minor ones which are not listed here...see PR discussion for details)

1. Eigen::half implementations for HIP and CUDA have been merged.
This means that
- `CUDA/Half.h` and `HIP/hcc/Half.h` got merged to a new file `GPU/Half.h`
- `CUDA/PacketMathHalf.h` and `HIP/hcc/PacketMathHalf.h` got merged to a new file `GPU/PacketMathHalf.h`
- `CUDA/TypeCasting.h` and `HIP/hcc/TypeCasting.h` got merged to a new file `GPU/TypeCasting.h`

After this change the `HIP/hcc` directory only contains one file `math_constants.h`. That will go away too once that file becomes a part of the HIP install.

2. new macros EIGEN_GPUCC, EIGEN_GPU_COMPILE_PHASE and EIGEN_HAS_GPU_FP16 have been added and the code has been updated to use them where appropriate.
- `EIGEN_GPUCC` is the same as `(EIGEN_CUDACC || EIGEN_HIPCC)`
- `EIGEN_GPU_DEVICE_COMPILE` is the same as `(EIGEN_CUDA_ARCH || EIGEN_HIP_DEVICE_COMPILE)`
- `EIGEN_HAS_GPU_FP16` is the same as `(EIGEN_HAS_CUDA_FP16 or EIGEN_HAS_HIP_FP16)`
Affected #:  29 files

https://bitbucket.org/eigen/eigen/commits/8c3adaa776e6/
Changeset:   8c3adaa776e6
User:        deven-amd
Date:        2018-06-20 16:37:11+00:00
Summary:     Merged eigen/eigen into default
Affected #:  1 file

https://bitbucket.org/eigen/eigen/commits/86e247d03efa/
Changeset:   86e247d03efa
User:        deven-amd
Date:        2018-06-20 16:52:30+00:00
Summary:     renaming *Cuda files to *Gpu in the unsupported/Eigen/CXX11/src/Tensor and unsupported/test directories
Affected #:  26 files

https://bitbucket.org/eigen/eigen/commits/5fde986b72e0/
Changeset:   5fde986b72e0
User:        deven-amd
Date:        2018-06-20 16:57:02+00:00
Summary:     removing the *Hip files from the unsupported/Eigen/CXX11/src/Tensor and unsupported/test directories
Affected #:  13 files

https://bitbucket.org/eigen/eigen/commits/edf9216d4e09/
Changeset:   edf9216d4e09
User:        deven-amd
Date:        2018-06-20 20:44:58+00:00
Summary:     merging the CUDA and HIP implementation for the Tensor directory and the unit tests
Affected #:  22 files

https://bitbucket.org/eigen/eigen/commits/ac3c5b83c9f0/
Changeset:   ac3c5b83c9f0
User:        deven-amd
Date:        2018-06-20 20:47:45+00:00
Summary:     merging from master
Affected #:  1 file

https://bitbucket.org/eigen/eigen/commits/2a635763061e/
Changeset:   2a635763061e
User:        deven-amd
Date:        2018-07-11 13:17:33+00:00
Summary:     merging updates from upstream
Affected #:  54 files

https://bitbucket.org/eigen/eigen/commits/f6adb9d907a9/
Changeset:   f6adb9d907a9
User:        deven-amd
Date:        2018-07-11 13:22:04+00:00
Summary:     renaming CUDA* to GPU* for some header files
Affected #:  6 files

https://bitbucket.org/eigen/eigen/commits/b30fd8c79cdf/
Changeset:   b30fd8c79cdf
User:        deven-amd
Date:        2018-07-11 13:26:54+00:00
Summary:     renaming CUDA* to GPU* for some header files
Affected #:  4 files

https://bitbucket.org/eigen/eigen/commits/8d3e0df4bff2/
Changeset:   8d3e0df4bff2
User:        deven-amd
Date:        2018-07-11 13:28:44+00:00
Summary:     deleting hip specific files that are no longer required
Affected #:  2 files

https://bitbucket.org/eigen/eigen/commits/a2f9eb31cdd1/
Changeset:   a2f9eb31cdd1
User:        deven-amd
Date:        2018-07-11 14:39:54+00:00
Summary:     Updates corresponding to the latest round of PR feedback

The major changes are

1. Moving CUDA/PacketMath.h to GPU/PacketMath.h
2. Moving CUDA/MathFunctions.h to GPU/MathFunction.h
3. Moving CUDA/CudaSpecialFunctions.h to GPU/GpuSpecialFunctions.h
    The above three changes effectively enable the Eigen "Packet" layer for the HIP platform

4. Merging the "hip_basic" and "cuda_basic" unit tests into one ("gpu_basic")
5. Updating the "EIGEN_DEVICE_FUNC" marking in some places

The change has been tested on the HIP and CUDA platforms.
Affected #:  18 files

https://bitbucket.org/eigen/eigen/commits/8475e3c056d3/
Changeset:   8475e3c056d3
User:        ggael
Date:        2018-07-12 08:07:16+00:00
Summary:     Merged in deven-amd/eigen (pull request #402)

Adding support for using Eigen in HIP kernels.
Affected #:  84 files

Repository URL: https://bitbucket.org/eigen/eigen/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/