Skip to content

Conversation

@Simon-CHOU
Copy link

@simon_chou-作业提交-专业阶段-2025年夏季InfiniTensor大模型与人工智能系统训练营-Learning-CUDA

https://beta.infinitensor.com/my/camps/summer2025/assignments

enviroment: windows 11 + wsl2.0 ubuntu22 + visualstudio2022

simon@LAPTOP-3J6HL311:/mnt/d/dev/infinitensor2025summer/Learning-CUDA$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Fri_Jan__6_16:45:21_PST_2023
Cuda compilation tools, release 12.0, V12.0.140
Build cuda_12.0.r12.0/compiler.32267302_0
simon@LAPTOP-3J6HL311:/mnt/d/dev/infinitensor2025summer/Learning-CUDA$ cl.exe
用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.44.35215 版
版权所有(C) Microsoft Corporation。保留所有权利。

用法: cl [ 选项... ] 文件名... [ /link 链接选项... ]

All test case passed.

simon@LAPTOP-3J6HL311:/mnt/d/dev/infinitensor2025summer/Learning-CUDA$ make clean
=== Cleaning temporary files ===
rm -f test_kernels        src/kernels.o 
simon@LAPTOP-3J6HL311:/mnt/d/dev/infinitensor2025summer/Learning-CUDA$ make
=== Compiling student code (src/kernels.cu) ===
nvcc                   -std=c++17 -O0         -c src/kernels.cu -o src/kernels.o
=== Linking executable (student code + test logic) ===
nvcc                   -std=c++17 -O0         -o test_kernels src/kernels.o tester/tester.o
=== Running tests (output from tester.o) ===
=== Verbose mode: Enabled (using '--verbose            ') ===
./test_kernels             
Testing on device: NVIDIA GeForce RTX 2060 with Max-Q Design

=== kthLargest Tests ===
Test #1:  int    | Verification: Passed
Test #1:  float  | Verification: Passed
Test #2:  int    | Verification: Passed
Test #2:  float  | Verification: Passed
Test #3:  int    | Verification: Passed
Test #3:  float  | Verification: Passed
Test #4:  int    | Verification: Passed
Test #4:  float  | Verification: Passed
Test #5:  int    | Verification: Passed
Test #5:  float  | Verification: Passed
Test #6:  int    | Verification: Passed
Test #6:  float  | Verification: Passed
Test #7:  int    | Verification: Passed
Test #7:  float  | Verification: Passed
Test #8:  int    | Verification: Passed
Test #8:  float  | Verification: Passed
Test #9:  int    | Verification: Passed
Test #9:  float  | Verification: Passed
Test #10: int    | Verification: Passed
Test #10: float  | Verification: Passed
Test #11: int    | Verification: Passed
Test #11: float  | Verification: Passed
Test #12: int    | Verification: Passed
Test #12: float  | Verification: Passed
Test #13: int    | Verification: Passed
Test #13: float  | Verification: Passed
Test #14: int    | Verification: Passed
Test #14: float  | Verification: Passed
Test #15: int    | Verification: Passed
Test #15: float  | Verification: Passed

=== Attention Tests ===
Test #1:  float  | Verification: Passed
Test #2:  float  | Verification: Passed
Test #3:  float  | Verification: Passed
Test #4:  float  | Verification: Passed
Test #5:  float  | Verification: Passed
Test #6:  float  | Verification: Passed
Test #7:  float  | Verification: Passed
Test #8:  float  | Verification: Passed
Test #9:  float  | Verification: Passed
Test #10: float  | Verification: Passed
Test #11: float  | Verification: Passed
Test #12: float  | Verification: Passed
Test #13: float  | Verification: Passed
simon@LAPTOP-3J6HL311:/mnt/d/dev/infinitensor2025summer/Learning-CUDA$

=== kthLargest Tests ===
Test InfiniTensor#5:  int    | Verification: Failed
Test InfiniTensor#5:  float  | Verification: Failed
Test InfiniTensor#8:  int    | Verification: Failed
Test InfiniTensor#8:  float  | Verification: Failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant