File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1112,6 +1112,7 @@ class device_ext : public sycl::device {
11121112  int get_max_work_group_size() const;
11131113  int get_mem_base_addr_align() const;
11141114  size_t get_global_mem_size() const;
1115+   size_t get_local_mem_size() const;
11151116  void get_memory_info(size_t &free_memory, size_t &total_memory) const;
11161117
11171118  void get_device_info(device_info &out) const;
Original file line number Diff line number Diff line change @@ -440,6 +440,10 @@ class device_ext : public sycl::device {
440440    return  get_device_info ().get_global_mem_size ();
441441  }
442442
443+   size_t  get_local_mem_size () const  {
444+     return  get_device_info ().get_local_mem_size ();
445+   }
446+ 
443447  // / Get the number of bytes of free and total memory on the SYCL device.
444448  // / \param [out] free_memory The number of bytes of free memory on the SYCL
445449  // / device.
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments