Comments (2)
Hi @jinz2014,
hipblasHalf
is just a typedef of uint16_t
(unless HIPBLAS_USE_HIP_HALF is defined, in which case it uses HIP's __half
type), so it isn't converting from/to floats as it seems you're expecting in your code. I've made some quick changes to your code at https://github.com/daineAMD/HeCBench/blob/hgemm/src/mkl-sgemm-hip/gemm.cu, they were just some quick changes to get it working so you may want to alter it a bit. It seems to be working now with both the uint16_t typedef and HIP __half. Can add -mf16c
to compilation to get intrinsics, or add -DHIPBLAS_USE_HIP_HALF
to use the HIP __half
datatype within hipBLAS.
Let me know if you have any further questions,
Daine
from hipblas.
I just added -DHIPBLAS_USE_HIP_HALF
in Makefile. Thank you for the code changes and descriptions!
from hipblas.
Related Issues (20)
- GemmEx of float16 runs so fast but with wrong result HOT 12
- hipBLAS Ubuntu packaging is broken HOT 2
- hipBLAS compiled for CUDA cannot be found in CMake HOT 4
- Link broken in the README for `hipBLAS functions` HOT 1
- hipblasGemmEx does not match the CPU or ROCBlas results for int8 x int8 to int32 matrix multiplication HOT 3
- [5.3.X] TRMM functions do not have correct correspondence in hipBLAS HOT 4
- [5.3.X][CUDA >= 11.0] `hipblasGemmEx` doesn't fully match `cublasGemmEx` HOT 2
- performance of hipblasHgemm HOT 9
- Type of AP in hipblasStrsm functions HOT 2
- hipblasSgemm extremely slow when compared to cublasSgemm HOT 4
- Building rocBLAS for CUDA backend fails HOT 2
- 64-bit interface HOT 4
- hipEventCreate HOT 1
- question about axpby HOT 2
- question about mixed precision dot HOT 4
- compute type of hipblasGemmEx HOT 2
- add topic tags HOT 3
- hipblasXgelsBatched() failed with error HOT 1
- [Feature]: Optional rocSOLVER at run time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hipblas.