File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
sycl/include/sycl/ext/oneapi/experimental Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -549,15 +549,16 @@ class dynamic_work_group_memory_base
549
549
{
550
550
public:
551
551
dynamic_work_group_memory_base () = default ;
552
- dynamic_work_group_memory_base (
553
- [[maybe_unused]] experimental::command_graph<graph_state::modifiable>
554
- Graph,
555
- [[maybe_unused]] size_t Size)
556
552
#ifndef __SYCL_DEVICE_ONLY__
557
- : dynamic_parameter_base(Graph), BufferSize(Size)
553
+ dynamic_work_group_memory_base (
554
+ experimental::command_graph<graph_state::modifiable> Graph, size_t Size)
555
+ : dynamic_parameter_base(Graph), BufferSize(Size) {}
556
+ #else
557
+ dynamic_work_group_memory_base (
558
+ experimental::command_graph<graph_state::modifiable> /* Graph*/ ,
559
+ size_t Size)
560
+ : BufferSize(Size) {}
558
561
#endif
559
- {
560
- }
561
562
562
563
private:
563
564
#ifdef __SYCL_DEVICE_ONLY__
You can’t perform that action at this time.
0 commit comments