JordyMalone

@JordyMalone

學習的過程總是充滿挑戰與成長

Joined on Mar 16, 2023

  • 把 AI 當作 payload,開發核心模組讓大家去擴充 學習要點: 怎麼去開發個核心模組 怎麼去改善核心模組 怎麼去測量性能 怎麼去改進整體的運作 怎麼去降低非必要的 crash 參閱以下教材:
     Like  Bookmark
  • contributed by < Jordymalone > 預期目標 [ ] 檢驗學員對於 bitwise 操作及 rbtree 的熟悉程度 [ ] 檢驗學員對於 CS:APP 第二章的掌握:別忘了課程指定的教科書 [ ] 引導學員接觸 Linux 核心原始程式碼及解說應用案例 第三周測驗題 測驗 1 測驗 2
     Like  Bookmark
  • contributed by < Jordymalone > Reviewed by salmoniscute 1. q_reversek if (!list_empty(head)) { list_splice_tail_init(head, &result); } list_splice_tail_init(&result, head); 這段程式碼有點冗長,可以直接透過 list_splice 將剩下的節點加到結果的頭部。
     Like  Bookmark
  • contributed by < Jordymalone > 第一周測驗題 測驗 1 目標: 完成 list_insert_before 函式 以下程式碼運用〈你所不知道的 C 語言: linked list 和非連續記憶體〉提及的 "a pointer to a pointer" 技巧,撰寫鏈結串列的經典操作。 解釋程式碼運作原理 考慮以下程式碼:
     Like  Bookmark
  • contributed by < Jordymalone > 根據 N02: ideas 作業要求,研讀 2024 年課程期末展示及完整期末專題列表,搭配 2024 年課程回顧影片,從去年的期末專題中選出至少 7 項題目,紀錄過程中的認知、遇到的疑惑,以及認為可以如何改進 Interested List Linux 排程器研究 〈每位程式開發者都該有的記憶體知識〉修訂 在 RISC-V 處理器/模擬器運作 Linux 核心 記憶體管理 裝置驅動程式開發
     Like  Bookmark
  • contributed by: <JordyMalone> Github Part A: Mathematical Functions In this section, we will implement fundamental matrix operations commonly used in neural networks. We will create functions for the following: Dot Product: This function will calculate the dot product of two vectors. Matrix Multiplication: This function will handle the multiplication of two matrices. Element-wise ReLU (Rectified Linear Unit): This function will apply the ReLU activation function element-wise, replacing negative values with 0. Argmax: This function will find the index of the maximum value within an array.
     Like  Bookmark
  • contributed by <JordyMalone> Quiz 1 - Problem C Problem analysis In this problem, we utilized three functions: fabsf, my_clz and fp16_to_fp32. The fabsf function, discussed in Problem A, calculates the absolute value of a floating-point number. Rather than using traditional arithmetic operations, it clears the sign bit through a bitwise operation to return the result. The my_clz function counts the number of leading zero bits in the binary representation of an unsigned integer, starting from the most significant bit. It then returns an integer that represents how many zero bits precede the first 1 in the binary representation of the number. The fp16_to_fp32 function converts a 16-bit floating-point number in IEEE half-precision format to a 32-bit floating-point number in single-precision format. The my_clz function is also used in fp16_to_fp32.
     Like  Bookmark