Code Quality: fixed compilation errors on MSVC

This commit is contained in:
U-AMR\ptillet
2015-07-20 18:02:56 -07:00
parent cd155cb9e3
commit 8879a867d8
14 changed files with 192 additions and 785 deletions

View File

@@ -30,7 +30,8 @@ extern "C"
for(cl_uint i = 0 ; i < numCommandQueues ; ++i)
{
std::list<is::driver::Event> levents;
is::driver::CommandQueue queue(cl::CommandQueue(commandQueues[i]));
cl::CommandQueue queuepp(commandQueues[i]);
is::driver::CommandQueue queue(queuepp);
clRetainCommandQueue(commandQueues[i]);
is::execution_options_type options(queue, &levents, &waitlist);
is::execute(is::control(operation, options), is::models(options.queue(context)));