摘要:
第四个lab,纠结了好久,仍然提高不多,欢迎拍砖.解决思路:rotate: 1.个人感觉写不命中的惩罚会更高一点,所以把按顺序读的逻辑改成了写按顺序; 2.为了充分利用一级缓存(32KB), 采用分块策略, 每一个块大小为32. 提升约6.5倍/* * rotate - Your current working version of rotate * IMPORTANT: This is the version you will be graded on * size of cache 1: 32K * size of pixel : 6B */char rotate_descr[]... 阅读全文
posted @ 2011-11-27 16:26
hollyBug
阅读(2573)
评论(0)
推荐(0)
浙公网安备 33010602011771号