#include "cuda_runtime.h"#include "device_launch_parameters.h"#include #include #include "cublas_v2.h"#define BLOCK_SIZE 16/***************/用cuBlas的内置...
分类:
其他好文 时间:
2014-08-16 22:17:21
阅读次数:
292
才学习JQ不久,用的还不太熟,总结一下。下面是个简单的小例子$("#xopvw,#xintb").change(function(){ if($("#xopvw option:selected").val() == '1' || $("#xintb option:selected")....
分类:
Web程序 时间:
2014-08-15 19:18:49
阅读次数:
216
一般我们使用tr来做字符串的替换,或者删除指定的字符串
tr的语法如下:
tr [OPTION]... SET1 [SET2]
-c, -C, --complement
first complement SET1
将非SET1中的字符替换为SET2
[lubinsu@200-168-1-4 ~]$ echo "lubinsu" ...
分类:
其他好文 时间:
2014-08-14 23:56:16
阅读次数:
466
最近做的项目一直在用laraval框架,有些地方确实很方便,但是有些方面实在是太坑了,就比如这次在数据库里,官方文档写的是Take note thatemailis not a required option, it is merely used for example. You should us...
分类:
数据库 时间:
2014-08-14 20:28:39
阅读次数:
226
想要备份mysql数据库时,输入mysqldump命令出现如题所示的错误,在网上找了好久,终于从一个帖子上得到了一些提示,就动手试了下,嘿还真成了!!mysqldump --no-defaults -u[用户名] -p[这里可以输入密码也可不输入,如不输入会再后面提示输入] 数据库名 > D:t.....
分类:
数据库 时间:
2014-08-14 19:59:49
阅读次数:
196
uvaLive5913:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3924题意:给你n个串,然后你可以用串的非空前缀和非空后缀组成新的单...
分类:
其他好文 时间:
2014-08-14 16:38:18
阅读次数:
244
You can set up your application to start Visual Studio when you launch the application from Windows. Visual Studio will load your application, ready f...
分类:
其他好文 时间:
2014-08-14 16:17:38
阅读次数:
227
uva11488:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=2483题意:给你n个串,对于一个前缀,如果出现k次,就会得到前缀的...
分类:
其他好文 时间:
2014-08-14 15:58:28
阅读次数:
255
Problem APlay with Floor and Ceilhttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=18&page=show_problem&problem=1614扩展gcd求...
分类:
其他好文 时间:
2014-08-14 13:30:08
阅读次数:
310
第一种:
$(this).children("option:selected").text();
第二种:
$(this).children("option:selected").html();...
分类:
Web程序 时间:
2014-08-13 22:36:37
阅读次数:
242