上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页

2018年9月13日

windows时钟服务设置

摘要: 运行Regedit,打开注册表编辑器。 找到注册表项HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\,将AnnounceFlags的值修改为5。 找到注册表项HKEY_LOCAL_MACHINE\SYSTEM\C 阅读全文

posted @ 2018-09-13 08:25 万里驰骋 阅读(1086) 评论(0) 推荐(0)

2018年7月31日

QT的DPI支持

摘要: 在main函数第一行加入: QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); 鼠标不按下也响应移动事件: setMouseTracking(true); 阅读全文

posted @ 2018-07-31 16:34 万里驰骋 阅读(1783) 评论(0) 推荐(0)

2018年6月8日

cudaDeviceProp结构体

摘要: struct cudaDeviceProp {char name[256]; //器件的名字size_t totalGlobalMem; //Global Memory 的byte大小size_t sharedMemPerBlock; //线程块可以使用的共用记忆体的最大值。byte为单位,多处理器 阅读全文

posted @ 2018-06-08 16:52 万里驰骋 阅读(962) 评论(0) 推荐(1)

2018年6月7日

C#调用C++的dll各种传参

摘要: 1. 如果函数只有传入参数,比如: //C++中的输出函数 int __declspec(dllexport) test(const int N) { return N+10; } 对应的C#代码为: [DllImport("test.dll", EntryPoint = "#1")] public 阅读全文

posted @ 2018-06-07 19:49 万里驰骋 阅读(9342) 评论(0) 推荐(1)

创建CUDA项目

摘要: 输出选择X64 .cu文件属性: 常规-项类型:CUDA C/C++ 项目属性: 平台:活动(x64) CUDA C/C++ - Common-Target Machine Platform: 64-bit (--machine 64) CUDA C/C++-Device-Code Generati 阅读全文

posted @ 2018-06-07 16:54 万里驰骋 阅读(544) 评论(0) 推荐(0)

CUDA warning C4819的消除

摘要: 问题描述:在使用VS2010编译CUDA程序时,有很多C4819警告: warning C4819:The file contains a character that cannot be represented in the current codepage (936). Save the fil 阅读全文

posted @ 2018-06-07 14:04 万里驰骋 阅读(876) 评论(0) 推荐(0)

2018年6月3日

并行调用

摘要: 这几天需要用到kernel函数包含kernel函数的例子,于是出现了几种问题: 一、 error : calling a global function(“childKernel”) from a global function(“kernel”) is only allowed on the co 阅读全文

posted @ 2018-06-03 13:28 万里驰骋 阅读(752) 评论(0) 推荐(0)

解除系统对显卡线程运行时间限制

摘要: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\GraphicsDrivers 新建一个TdrLevel:REG_DWORD 键值为0 阅读全文

posted @ 2018-06-03 12:04 万里驰骋 阅读(471) 评论(0) 推荐(0)

2018年1月18日

node模块管理

摘要: 淘宝镜像:npm install -g cnpm --registry=https://registry.npm.taobao.org 安装模块到本地:npm install http 阅读全文

posted @ 2018-01-18 10:31 万里驰骋 阅读(174) 评论(0) 推荐(0)

2018年1月6日

$.getJSON同步和异步

摘要: $.ajaxSettings.async = false; $.getJSON(url, data, function(data){ }); $.getJSON(url, data, function(data){ }); $.getJSON(url, data, function(data){ } 阅读全文

posted @ 2018-01-06 09:54 万里驰骋 阅读(846) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页

导航