Skip to content

Commit

Permalink
spit out gpu names when initializing
Browse files Browse the repository at this point in the history
  • Loading branch information
cdeterman committed Aug 24, 2016
1 parent 24252a5 commit 090883b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void initContexts(){
// viennacl::ocl::current_context().switch_device(gpu_idx);
viennacl::ocl::setup_context(id, devices[gpu_idx]);
// viennacl::ocl::get_context(id).switch_device(gpu_idx);
// std::cout << viennacl::ocl::current_context().current_device().name() << std::endl;
std::cout << viennacl::ocl::current_context().current_device().name() << std::endl;

// increment context
id++;
Expand Down

0 comments on commit 090883b

Please sign in to comment.