当前位置: 首页 > news >正文

桃花岛网站是什么翻硬币网站怎么做

桃花岛网站是什么,翻硬币网站怎么做,石家庄上门足疗,关键路径matlab函数#xff0c;大体首先是用nvcc命令生成.o文件#xff0c;然后用mex链接对应库文件#xff0c;生成动态链接库(.mexw64等)。测试环境#xff1a;1) Windows x64 matlab cuda 5.5 vs20122) Ubuntu 12.04 amd64 server matlab gcc cuda 5.5windows用户需要根据…matlab函数大体首先是用nvcc命令生成.o文件然后用mex链接对应库文件生成动态链接库(.mexw64等)。测试环境1) Windows x64 matlab cuda 5.5 vs20122) Ubuntu 12.04 amd64 server matlab gcc cuda 5.5windows用户需要根据自身编译器更改函数第10行改为cl.exe所在文件夹。如果第53行出错请您在matlab中先mex -setup配置编译器。。。使用方法e.g.nvmex(a.cu);function nvmex(cuFileName)%NVMEX Compiles and links a CUDA file for MATLAB usage% NVMEX(FILENAME) will create a MEX-File (also with the name FILENAME) by% invoking the CUDA compiler, nvcc, and then linking with the MEX% function in MATLAB.if ispc % WindowsHost_Compiler_Location -ccbin C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64;CUDA_INC_Location [ getenv(CUDA_PATH)  \include];CUDA_SAMPLES_Location [ getenv(NVCUDASAMPLES5_5_ROOT)  \common\inc];PIC_Option ;if ( strcmp(computer(arch),win32) 1)machine_str --machine 32 ;CUDA_LIB_Location [ getenv(CUDA_PATH)  \lib\Win32];elseif  ( strcmp(computer(arch),win64) 1)machine_str --machine 64 ;CUDA_LIB_Location [ getenv(CUDA_PATH)  \lib\x64];endelse % Mac and Linux (assuming gcc is on the path)CUDA_INC_Location /usr/local/cuda/include;CUDA_SAMPLES_Location /usr/local/cuda/samples/common/inc;Host_Compiler_Location ;PIC_Option --compiler-options -fPIC ;machine_str [];if ( strcmp(computer(arch),win32) 1)CUDA_LIB_Location /usr/local/cuda/lib;elseif  ( strcmp(computer(arch),win64) 1)CUDA_LIB_Location /usr/local/cuda/lib64;endend% !!! End of things to modify !!![~, filename] fileparts(cuFileName);nvccCommandLine [ ...nvcc --compile Host_Compiler_Location ...-o   filename .o ...machine_str PIC_Option ... -I matlabroot /extern/include ... -I CUDA_INC_Location -I CUDA_SAMPLES_Location ... cuFileName ];mexCommandLine [mex filename .o  -L CUDA_LIB_Location  -lcudart];disp(nvccCommandLine);warning off;status system(nvccCommandLine);warning on;if status 0error Error invoking nvcc;enddisp(mexCommandLine);eval(mexCommandLine);end
http://www.pierceye.com/news/762342/

相关文章:

  • 做海报的网站有哪些内容windows同步wordpress
  • 制作网页的网站费用属于资本性支出吗安徽区块链虚拟币网站开发方案
  • 做网站前产品经理要了解什么搜索引擎优化免费
  • 广州网站建设技术方案营销网站推广策略
  • 郑州网站建设、中国菲律宾铁路项目
  • 潜江网站开发学校网站建设领导小组
  • 桂林临桂区建设局网站厦门 微网站建设公司哪家好
  • 如何用云服务器搭建个人网站有些人做网站不用钱的,对吗?
  • 月嫂网站建设方案建设网站询价对比表模板
  • 医院网站建设 价格低深圳市高端网站建设
  • 太原做学校网站的公司网站免费观看
  • 企业网络营销是什么seo教程百度云
  • wordpress 下载站模板高清免费观看电视网站
  • 网站后期维护怎么做招c1驾驶员300元一天
  • 番禺区移动端网站制作山西省两学一做网站
  • 网上销售 网站建设浙江创都建设有限公司网站
  • 网站商城的公司运营结构html5 app开发工具
  • 酒类网站建设方案案中山网站建设公司排名
  • wordpress怎么做子页面如何刷seo关键词排名
  • 网站怎样做免费优化有效果成都十大好的装修公司
  • 网站外链分析工具新闻发布会主持词
  • 网站开发哪个工具学做网站需要懂什么
  • 一般做推广网站的客户需求仕什么赣州市城乡建设局官方网站
  • 中山网站搜索引擎优化婚庆策划公司的商业模式
  • 百度云主机做网站天津展示型网站建设外包
  • 做公司网站利润营销型企业网站系统模板下载
  • 怎样在绍兴e网做网站衡水网站优化
  • 网站建设现在还有没有市场优秀网站建设报价
  • 兰州网站维护公司网站规划有哪些内容
  • 简单展示网站模板电脑网页打不开