Permalink
Browse files

test chipset with mask 0xf0 in cuda/driver_api/context.c

  • Loading branch information...
1 parent aea6b59 commit 46bcf3f8081829150a7e9b6395e227733a234902 @wkbjerry wkbjerry committed Sep 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cuda/driver_api/context.c
@@ -131,7 +131,7 @@ CUresult cuCtxCreate(CUcontext *pctx, unsigned int flags, CUdevice dev)
}
/* FIXME: per-thread warp size and active warps */
- switch (cuda_info->chipset) {
+ switch (cuda_info->chipset & 0xf0) {
case 0xc0:
cuda_info->warp_count = 48;
cuda_info->warp_size = 32;

0 comments on commit 46bcf3f

Please sign in to comment.