Commit Graph

14 Commits

Author SHA1 Message Date
Po-Yen, Chen
f7288bc2b1 Reuse same implementation code for most of GEMM examples 2022-08-19 14:47:09 -04:00
Po-Yen, Chen
68a57e71e6 Move #include directives into new header 2022-08-19 13:24:00 -04:00
Po-Yen, Chen
42d75f356c Sort include directives 2022-08-19 12:59:46 -04:00
Po-Yen, Chen
dd5b139401 Extract int4 example common codes 2022-08-19 12:57:36 -04:00
Po-Yen, Chen
3e2f37a148 Re-format GEMM instance template arguments 2022-08-19 12:02:57 -04:00
Po-Yen, Chen
4d4a659cd6 Use ""_uz to simplify example code 2022-08-19 11:54:51 -04:00
Po-Yen, Chen
2fb766e852 Simplify tensor usages in examples 2022-08-19 11:33:25 -04:00
Po-Yen, Chen
0d5025befe Add #error directive to prevent compile sources with wrong setting 2022-08-19 10:51:30 -04:00
Po-Yen, Chen
c34f8411c4 Check converted Tensor<int4_t> with golden Tensor<int8_t> 2022-08-19 04:40:13 -04:00
Po-Yen, Chen
f3f61f836b Complete the int4 examples 2022-08-19 02:19:50 -04:00
Po-Yen, Chen
e03cece9c4 Use different type for host tensors 2022-08-19 00:32:57 -04:00
Po-Yen, Chen
194faf7837 Distinguish user-side type from kernel-side type 2022-08-18 23:43:19 -04:00
Po-Yen, Chen
70c87970ec Re-use pre-defined alias in int4 exmples 2022-08-18 23:29:38 -04:00
Po-Yen, Chen
4b153bd974 Add GEMM examples for int4
Currently the source files are just copied from int8 examples
2022-08-18 23:03:36 -04:00