mikesol opened a new issue, #13968:
URL: https://github.com/apache/tvm/issues/13968

   ### Expected behavior
   
   I was expected the compilation of `tvm` to complete.
   
   ### Actual behavior
   
   I received the following error. As it didn't seem like there was an issue 
with dependencies, I thought I'd report it here, although if this is an issue 
with Metal I can open up an issue on their tracker.
   
   ```bash
   /Users/mikesol/Documents/GitHub/tvm/src/runtime/contrib/mps/conv.mm:36:25: 
error: 'CopyDataFromTo' is a protected member of 
'tvm::runtime::metal::MetalWorkspace'
     entry_ptr->metal_api->CopyDataFromTo((__bridge void*)mtlbuf, 0, (__bridge 
void*)temp, 0,
                           ^
   
/Users/mikesol/Documents/GitHub/tvm/src/runtime/contrib/mps/../../metal/metal_common.h:172:8:
 note: declared protected here
     void CopyDataFromTo(const void* from, size_t from_size, void* to, size_t 
to_size, size_t size,
          ^
   /Users/mikesol/Documents/GitHub/tvm/src/runtime/contrib/mps/conv.mm:72:25: 
error: 'CopyDataFromTo' is a protected member of 
'tvm::runtime::metal::MetalWorkspace'
     entry_ptr->metal_api->CopyDataFromTo((__bridge void*)temp, 0, (__bridge 
void*)mtlbuf, 0,
                           ^
   
/Users/mikesol/Documents/GitHub/tvm/src/runtime/contrib/mps/../../metal/metal_common.h:172:8:
 note: declared protected here
     void CopyDataFromTo(const void* from, size_t from_size, void* to, size_t 
to_size, size_t size,
          ^
   /Users/mikesol/Documents/GitHub/tvm/src/runtime/contrib/mps/conv.mm:106:53: 
error: no member named 'GetCommandQueue' in 
'tvm::runtime::metal::MetalWorkspace'
     id<MTLCommandQueue> queue = 
entry_ptr->metal_api->GetCommandQueue(data->device);
                                 ~~~~~~~~~~~~~~~~~~~~  ^
   /Users/mikesol/Documents/GitHub/tvm/src/runtime/contrib/mps/conv.mm:115:25: 
error: 'CopyDataFromTo' is a protected member of 
'tvm::runtime::metal::MetalWorkspace'
     entry_ptr->metal_api->CopyDataFromTo((__bridge void*)bufB, 0, (__bridge 
void*)tempB, 0,
                           ^
   
/Users/mikesol/Documents/GitHub/tvm/src/runtime/contrib/mps/../../metal/metal_common.h:172:8:
 note: declared protected here
     void CopyDataFromTo(const void* from, size_t from_size, void* to, size_t 
to_size, size_t size,
          ^
   ```
   
   ### Environment
   
   Current master, mac OS Ventura on an M2 chip 13" MacBook Pro.
   
   Please refer to the list of label tags 
[here](https://github.com/apache/tvm/wiki/Issue-Triage-Labels) to find the 
relevant tags and add them below in a bullet format (example below).
   
   * needs-triage
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to