Lines Matching defs:TmpInt

908     int TmpInt;
910 CUresult Res = cuDriverGetVersion(&TmpInt);
912 Info.add("CUDA Driver Version", TmpInt);
924 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT, TmpInt);
926 Info.add("Number of Multiprocessors", TmpInt);
928 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_GPU_OVERLAP, TmpInt);
930 Info.add("Concurrent Copy and Execution", (bool)TmpInt);
932 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY, TmpInt);
934 Info.add("Total Constant Memory", TmpInt, "bytes");
937 TmpInt);
939 Info.add("Max Shared Memory per Block", TmpInt, "bytes");
941 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK, TmpInt);
943 Info.add("Registers per Block", TmpInt);
945 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_WARP_SIZE, TmpInt);
947 Info.add("Warp Size", TmpInt);
949 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK, TmpInt);
951 Info.add("Maximum Threads per Block", TmpInt);
954 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X, TmpInt);
956 Info.add<InfoLevel2>("x", TmpInt);
957 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y, TmpInt);
959 Info.add<InfoLevel2>("y", TmpInt);
960 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z, TmpInt);
962 Info.add<InfoLevel2>("z", TmpInt);
965 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_X, TmpInt);
967 Info.add<InfoLevel2>("x", TmpInt);
968 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Y, TmpInt);
970 Info.add<InfoLevel2>("y", TmpInt);
971 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Z, TmpInt);
973 Info.add<InfoLevel2>("z", TmpInt);
975 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_MAX_PITCH, TmpInt);
977 Info.add("Maximum Memory Pitch", TmpInt, "bytes");
979 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT, TmpInt);
981 Info.add("Texture Alignment", TmpInt, "bytes");
983 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_CLOCK_RATE, TmpInt);
985 Info.add("Clock Rate", TmpInt, "kHz");
987 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT, TmpInt);
989 Info.add("Execution Timeout", (bool)TmpInt);
991 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_INTEGRATED, TmpInt);
993 Info.add("Integrated Device", (bool)TmpInt);
995 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY, TmpInt);
997 Info.add("Can Map Host Memory", (bool)TmpInt);
999 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_COMPUTE_MODE, TmpInt);
1001 if (TmpInt == CU_COMPUTEMODE_DEFAULT)
1003 else if (TmpInt == CU_COMPUTEMODE_PROHIBITED)
1005 else if (TmpInt == CU_COMPUTEMODE_EXCLUSIVE_PROCESS)
1012 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_CONCURRENT_KERNELS, TmpInt);
1014 Info.add("Concurrent Kernels", (bool)TmpInt);
1016 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_ECC_ENABLED, TmpInt);
1018 Info.add("ECC Enabled", (bool)TmpInt);
1020 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE, TmpInt);
1022 Info.add("Memory Clock Rate", TmpInt, "kHz");
1024 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH, TmpInt);
1026 Info.add("Memory Bus Width", TmpInt, "bits");
1028 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_L2_CACHE_SIZE, TmpInt);
1030 Info.add("L2 Cache Size", TmpInt, "bytes");
1033 TmpInt);
1035 Info.add("Max Threads Per SMP", TmpInt);
1037 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT, TmpInt);
1039 Info.add("Async Engines", TmpInt);
1041 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_UNIFIED_ADDRESSING, TmpInt);
1043 Info.add("Unified Addressing", (bool)TmpInt);
1045 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_MANAGED_MEMORY, TmpInt);
1047 Info.add("Managed Memory", (bool)TmpInt);
1050 getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS, TmpInt);
1052 Info.add("Concurrent Managed Memory", (bool)TmpInt);
1055 TmpInt);
1057 Info.add("Preemption Supported", (bool)TmpInt);
1059 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH, TmpInt);
1061 Info.add("Cooperative Launch", (bool)TmpInt);
1063 Res = getDeviceAttrRaw(CU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD, TmpInt);
1065 Info.add("Multi-Device Boars", (bool)TmpInt);