- 
                Notifications
    
You must be signed in to change notification settings  - Fork 794
 
[SYCL][Joint Matrix][E2E] Add Joint Matrix tests for matrix dimension as function argument and runtime input #15429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SYCL][Joint Matrix][E2E] Add Joint Matrix tests for matrix dimension as function argument and runtime input #15429
Conversation
        
          
                sycl/test-e2e/Matrix/joint_matrix_bf16_fill_k_cache_runtime_dimension_impl.hpp
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                sycl/test-e2e/Matrix/joint_matrix_bf16_fill_k_cache_dimensions_function_argument.cpp
              
                Outdated
          
            Show resolved
            Hide resolved
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added comments
        
          
                sycl/test-e2e/Matrix/joint_matrix_bf16_fill_k_cache_arg_dim.cpp
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                sycl/test-e2e/Matrix/joint_matrix_bf16_fill_k_cache_arg_dim.cpp
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                sycl/test-e2e/Matrix/joint_matrix_bf16_fill_k_cache_arg_dim.cpp
              
                Outdated
          
            Show resolved
            Hide resolved
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about the runtime arguments test? I think we need that one as well.
          
 Thanks for all the suggestions for this PR 👍 I am still working on this one. I’m trying to do it in a similar way as we have for joint_matrix_bf16_cache_arg_dim.cpp, where we reuse the code in joint_matrix_bf16_cache_impl.hpp. However, I found that there will be a lot of modifications needed in joint_matrix_bf16_cache_impl.hpp because we need to change the interface for the test() function. So, I’m not sure if I should create a separate *_impl.hpp for the joint_matrix_bf16_cache_runtime_dim test.  | 
    
          
 You may create a new joint_matrix_bf16_cache_runtime_dim_impl.hpp file that only contains the new test() function but uses same joint_matmul function from joint_matrix_bf16_cache_impl.hpp.  | 
    
          
 Thanks for the suggestion! I have created a new joint_matrix_bf16_cache_runtime_dim_impl.hpp.  | 
    
        
          
                sycl/test-e2e/Matrix/joint_matrix_bf16_fill_k_cache_runtime_dim_impl.hpp
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                sycl/test-e2e/Matrix/joint_matrix_bf16_fill_k_cache_runtime_dim.cpp
              
                Outdated
          
            Show resolved
            Hide resolved
        
      …int_matrix_bf16_fill_k_cache_runtime_dim_impl.hpp
8d1fe7a    to
    950f693      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
        
          
                sycl/test-e2e/Matrix/joint_matrix_bf16_fill_k_cache_arg_dim.cpp
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                sycl/test-e2e/Matrix/joint_matrix_bf16_fill_k_cache_arg_dim.cpp
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                sycl/test-e2e/Matrix/joint_matrix_bf16_fill_k_cache_runtime_dim.cpp
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                sycl/test-e2e/Matrix/joint_matrix_bf16_fill_k_cache_runtime_dim.cpp
              
                Outdated
          
            Show resolved
            Hide resolved
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
          
 I'm just back from vacation and this PR 
 @YixingZhang007 , can you please summarize what you expect from me specifically?  | 
    
          
 Hello Andrey, sorry for the confusion! I was trying to get assistance for merging the PR from @intel/llvm-gatekeepers, because I noticed I'm not authorized to merge the PR.  | 
    
Description: