tqchen commented on pull request #5838:
URL: https://github.com/apache/incubator-tvm/pull/5838#issuecomment-646878266


   Note about the second level validation:
   
   ```
   {
       "id": "cuda",
       "tag": "nvidia/tx2-cudnn",
       "keys": ["cuda", "gpu"],
       "libs": ["cudnn"],
       "target_host": {
           "id": "llvm",
           "system_lib": True,
           "mtriple": "aarch64-linux-gnu",
           "mattr": "+neon"
       }
   }
   ```
   
   In the above example, the schema of cuda looks like
   ```
   - keys: Array[str]
   - target_host: Target
   ```
   
   And we need to be able to validate the information in llvm. For example, if 
we add an invalid attribute to the target host map(that is not registered by 
llvm) it will trigger an error.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to