codeplaysoftware / portBLAS

An implementation of BLAS using the SYCL open standard.
Apache License 2.0
258 stars 50 forks source link

Add Benchmark CSV files for Language Models #460

Closed muhammad-tanvir-1211 closed 1 year ago

muhammad-tanvir-1211 commented 1 year ago

This PR adds the benchmark csv files for gemm and gemm_batched_strided for some of the latest transformer based language models. The oneDNN matmul inputs for language models are used as reference for these csv files. The reference files can be found here: https://github.com/oneapi-src/oneDNN/tree/master/tests/benchdnn/inputs/matmul

For all cases, the oneDNN inputs use bias as an extra input to gemm but I have omitted this argument from the csv files as this argument is not yet supported in portBLAS gemm.