Use __builtin_memcpy to implement bit_cast and for accessing vector from pointer of scalars (#53)

* reworking vector_type

* use __builtin_memcpy for bit_cast and vector access of scalar pointer

* clean up

[ROCm/composable_kernel commit: 64350affc5]
This commit is contained in:
Chao Liu
2021-11-18 09:11:15 -06:00
committed by GitHub
parent 75f9af0fc5
commit bf1768aea4
12 changed files with 152 additions and 49 deletions

View File

@@ -258,7 +258,7 @@ int main(int argc, char* argv[])
using in_data_t = half_t;
using acc_data_t = float;
using out_data_t = half_t;
#elif 1
#elif 0
using in_data_t = ushort;
using acc_data_t = float;
using out_data_t = ushort;