File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ using namespace cl::sycl;
32
32
33
33
namespace
34
34
{
35
- // Create wrappers for C Binding types (see CBindingWrapping.h).
36
- DEFINE_SIMPLE_CONVERSION_FUNCTIONS (context, DPPLSyclContextRef)
35
+ // Create wrappers for C Binding types (see CBindingWrapping.h).
36
+ DEFINE_SIMPLE_CONVERSION_FUNCTIONS (context, DPPLSyclContextRef)
37
37
} /* end of anonymous namespace */
38
38
39
39
Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ using namespace cl::sycl;
39
39
namespace
40
40
{
41
41
42
- // Create wrappers for C Binding types (see CBindingWrapping.h).
43
- DEFINE_SIMPLE_CONVERSION_FUNCTIONS (queue, DPPLSyclQueueRef)
42
+ // Create wrappers for C Binding types (see CBindingWrapping.h).
43
+ DEFINE_SIMPLE_CONVERSION_FUNCTIONS (queue, DPPLSyclQueueRef)
44
44
45
45
void error_reporter (const std::string & msg)
46
46
{
@@ -99,6 +99,7 @@ class QMgrHelper
99
99
static cl::sycl::vector_class<cl::sycl::queue>*
100
100
init_queues (info::device_type device_ty)
101
101
{
102
+
102
103
auto queues = new std::vector<cl::sycl::queue>();
103
104
for (auto d : device::get_devices (device_ty))
104
105
queues->emplace_back (d);
Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ using namespace cl::sycl;
34
34
namespace
35
35
{
36
36
// Create wrappers for C Binding types (see CBindingWrapping.h).
37
- DEFINE_SIMPLE_CONVERSION_FUNCTIONS (queue, DPPLSyclQueueRef)
38
- DEFINE_SIMPLE_CONVERSION_FUNCTIONS (context, DPPLSyclContextRef)
39
- DEFINE_SIMPLE_CONVERSION_FUNCTIONS (void , DPPLSyclUSMRef)
37
+ DEFINE_SIMPLE_CONVERSION_FUNCTIONS (queue, DPPLSyclQueueRef)
38
+ DEFINE_SIMPLE_CONVERSION_FUNCTIONS (context, DPPLSyclContextRef)
39
+ DEFINE_SIMPLE_CONVERSION_FUNCTIONS (void , DPPLSyclUSMRef)
40
40
41
41
} /* end of anonymous namespace */
42
42
You can’t perform that action at this time.
0 commit comments