ass4

188 views
Skip to first unread message

vaibhav saini

unread,
Nov 11, 2020, 7:35:30 PM11/11/20
to cmpt-295-sfu
# Question templates
SFU ID: 301386847
Github username: Debugx-x
Line and file:  trans.c
Expected behavior: No validation error at function 0
Observed behavior: Validation error at function 0 for the third case (61x67) 
Question: I am getting validation error for my third case in the trans.c which is causing me to have invalid misses for the case I think. I am not sure whats wrong with my third case. 

Screenshot (66).png

Arrvindh Shriraman

unread,
Nov 12, 2020, 1:46:00 PM11/12/20
to cmpt-295-sfu
-M 67 -N 61

vaibhav saini

unread,
Nov 12, 2020, 11:33:49 PM11/12/20
to cmpt-295-sfu
Thanks arrvindh, It looks like I got confused between M and N while testing... I am still getting some problems trying optimize my code for the third case. Could help me understand the what I am doing wrong and confirm if I am using the right block size...

Thanks again,
Vaibhav

Arrvindh Shriraman

unread,
Nov 13, 2020, 4:01:46 PM11/13/20
to cmpt-295-sfu
Your blocking does not seem appropriate for 67x61

vaibhav saini

unread,
Nov 13, 2020, 10:18:46 PM11/13/20
to cmpt-295-sfu
Thanks a lot Arrvindh, As per your suggestion I checked the my blocking technique for the 67x61 and I was able to spot the rookie mistake I was making. It looks like I got confused between the matrix definition in the code and general matrix dimensions in my head. 
Thank you,

Vaibhav

Reply all
Reply to author
Forward
0 new messages