Skip to content

Commit

Permalink
Disable prefetching on BG/Q because it seems to hurt performance
Browse files Browse the repository at this point in the history
  • Loading branch information
kostrzewa committed Oct 12, 2012
1 parent e806bf0 commit 60b9127
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xlc_prefetch.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
#ifndef _XLC_PREFETCH_H
#define _XLC_PREFETCH_H

#ifdef XLC
/* disable prefetching on BGQ */

#if (defined XLC && !defined BGQ)

#define _prefetch_spinor(addr) \
__dcbt(((char*)((unsigned long int)(addr)))); \
Expand Down

0 comments on commit 60b9127

Please sign in to comment.