Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 46bcf3f8081829150a7e9b6395e227733a234902 1 parent aea6b59
@wkbjerry wkbjerry authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cuda/driver_api/context.c
View
2  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;
Please sign in to comment.
Something went wrong with that request. Please try again.