props.totalConstMem and props.sharedMemPerBlock cause assembler error

while compiling on TIARA gp cluster. Therefore commeted out.
This commit is contained in:
Miikka Vaisala
2019-07-08 11:00:12 +08:00
parent f1066a2c11
commit 6ba15c3a7c

View File

@@ -96,6 +96,7 @@ printDeviceInfo(const Device device)
printf(" Peak Memory Bandwidth (GiB/s): %f\n",
2 * (props.memoryClockRate * 1e3) * props.memoryBusWidth / (8. * 1024. * 1024. * 1024.));
printf(" ECC enabled: %d\n", props.ECCEnabled);
// Memory usage
size_t free_bytes, total_bytes;
cudaMemGetInfo(&free_bytes, &total_bytes);
@@ -108,8 +109,10 @@ printDeviceInfo(const Device device)
printf(" Local L1 cache supported: %d\n", props.localL1CacheSupported);
printf(" Global L1 cache supported: %d\n", props.globalL1CacheSupported);
printf(" L2 size: %d KiB\n", props.l2CacheSize / (1024));
printf(" Total const mem: %ld KiB\n", props.totalConstMem / (1024));
printf(" Shared mem per block: %ld KiB\n", props.sharedMemPerBlock / (1024));
//MV: props.totalConstMem and props.sharedMemPerBlock cause assembler error
//MV: while compiling in TIARA gp cluster. Therefore commeted out.
//!! printf(" Total const mem: %ld KiB\n", props.totalConstMem / (1024));
//!! printf(" Shared mem per block: %ld KiB\n", props.sharedMemPerBlock / (1024));
printf(" Other\n");
printf(" Warp size: %d\n", props.warpSize);
// printf(" Single to double perf. ratio: %dx\n",