Skip to content

Commit

Permalink
VULCAN: Add optimized DGEMM implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwin Sekhar T K committed Jan 10, 2017
1 parent 4713e7c commit 0b8e876
Show file tree
Hide file tree
Showing 3 changed files with 1,829 additions and 0 deletions.
10 changes: 10 additions & 0 deletions driver/others/parameter.c
Original file line number Diff line number Diff line change
Expand Up @@ -730,12 +730,22 @@ void blas_set_parameter(void){

#if defined(ARCH_ARM64)

#if defined(VULCAN)
unsigned long vulcan_pre_a;
unsigned long vulcan_pre_b;
unsigned long vulcan_pre_c;
#endif

void blas_set_parameter(void)
{
#if defined(VULCAN)
dgemm_p = 160;
dgemm_q = 128;
dgemm_r = 4096;

vulcan_pre_a = 3584;
vulcan_pre_b = 512;
vulcan_pre_c = 128;
#endif
}

Expand Down
2 changes: 2 additions & 0 deletions kernel/arm64/KERNEL.VULCAN
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
include $(KERNELDIR)/KERNEL.CORTEXA57

DGEMMKERNEL = dgemm_kernel_$(DGEMM_UNROLL_M)x$(DGEMM_UNROLL_N)_vulcan.S

Loading

0 comments on commit 0b8e876

Please sign in to comment.