Skip to content

Commit

Permalink
Change GPU compilation options
Browse files Browse the repository at this point in the history
Remove deprecated Compute Capability 2.0 targets, add 6.0
  • Loading branch information
kqshan committed Apr 24, 2017
1 parent 1ffcd19 commit 7784a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @MoDT/buildMexFiles.m
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ function buildMexFiles()
fprintf('Compiling CUDA code...\n');
% These are the options I copied from nvcc_g++.xml
nvcc_opts = [...
'-gencode=arch=compute_20,code=sm_20 ' ...
'-gencode=arch=compute_30,code=sm_30 ' ...
'-gencode=arch=compute_50,code=sm_50 ' ...
'-gencode=arch=compute_60,code=sm_60 ' ...
'-std=c++11' ...
];
compile_opts = '-ansi,-fexceptions,-fPIC,-fno-omit-frame-pointer,-pthread';
Expand Down

0 comments on commit 7784a5c

Please sign in to comment.