2020-05-01ãã1ã¶æéã®è¨äºä¸è¦§
MLIRã«ã¤ãã¦åºç¤ãå¦ãã ã¨ããã§ãå®éã«åããã¦ã¿ããã以ä¸ã®ãã¼ã¸ãèªã¿ãªããå°ããã¥ã¼ããªã¢ã«ã触ã£ã¦ã¿ããã mlir.llvm.org mlir.llvm.org MLIRã¨ã®ã¤ã³ã¿ãã§ã¼ã¹ å ã»ã©ã®transpose()ãã©ã®ããã«MLIRã«å¤æãããã®ãã以ä¸ã«ç¤ºãã %t_tensâ¦
MLIRã«ã¤ãã¦åºç¤ãå¦ãã ã¨ããã§ãå®éã«åããã¦ã¿ããã以ä¸ã®ãã¼ã¸ãèªã¿ãªããå°ããã¥ã¼ããªã¢ã«ã触ã£ã¦ã¿ããã https://mlir.llvm.org/getting_started/ ãã«ãã®ããã®ãªãã¸ããªã¯LLVMã®ãã®ã¨åãã§è¯ããããã git clone https://github.comâ¦
ã¼ãããä½ãDeep Learning ⸠âãã¬ã¼ã ã¯ã¼ã¯ç·¨ä½è :æè¤ åº·æ¯ çºå£²æ¥: 2020/04/20ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼ ã¼ãããä½ãDeep Learning â¢ãè²·ã£ããDezeroã®Pythonå®è£ ãRubyã«ç§»æ¤ããå½¢ã§ç¬èªã«åå¼·ãã¦ããã次ã¯ã¹ããã15ã¨ã¹ããã16ã ã¹ãâ¦
ã¼ãããä½ãDeep Learning ⸠âãã¬ã¼ã ã¯ã¼ã¯ç·¨ä½è :æè¤ åº·æ¯ çºå£²æ¥: 2020/04/20ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼ ã¼ãããä½ãDeep Learning â¢ãè²·ã£ããDezeroã®Pythonå®è£ ãRubyã«ç§»æ¤ããå½¢ã§ç¬èªã«åå¼·ãã¦ããã次ã¯ã¹ããã13ã¨ã¹ããã14ã ã¹ãâ¦
ã¼ãããä½ãDeep Learning ⸠âãã¬ã¼ã ã¯ã¼ã¯ç·¨ä½è :æè¤ åº·æ¯ çºå£²æ¥: 2020/04/20ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼ ã¼ãããä½ãDeep Learning â¢ãè²·ã£ããDezeroã®Pythonå®è£ ãRubyã«ç§»æ¤ããå½¢ã§ç¬èªã«åå¼·ãã¦ããã次ã¯ã¹ããã11ã¨ã¹ããã12ã ã¹ãâ¦
ã¼ãããä½ãDeep Learning ⸠âãã¬ã¼ã ã¯ã¼ã¯ç·¨ä½è :æè¤ åº·æ¯ çºå£²æ¥: 2020/04/20ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼ ã¼ãããä½ãDeep Learning â¢ãè²·ã£ããDezeroã®Pythonå®è£ ãRubyã«ç§»æ¤ããå½¢ã§ç¬èªã«åå¼·ãã¦ããã次ã¯ã¹ããã9ã¨ã¹ããã10ã ã¹ããâ¦
ã¼ãããä½ãDeep Learning ⸠âãã¬ã¼ã ã¯ã¼ã¯ç·¨ä½è :æè¤ åº·æ¯ çºå£²æ¥: 2020/04/20ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼ ã¼ãããä½ãDeep Learning â¢ãè²·ã£ããDezeroã®Pythonå®è£ ãRubyã«ç§»æ¤ããå½¢ã§ç¬èªã«åå¼·ãã¦ããã次ã¯ã¹ããã7ã¨ã¹ããã8ã ã¹ããâ¦
RISC-V Vector Extensionã®GitHubãªãã¸ããªã«éãã«v0.9ã®ã¿ã°ãæãããã v0.8ã¨v0.9ã®éã«ã©ãã ãã®å·®åããããã調ã¹ã¦ãããªããã°ãªããªãã v0.8ã®ã¿ã°ã®ä»ããRevision github.com v0.9ã®ã¿ã°ã®ä»ããRevision github.com ã¨ãã訳ã§Gitãªãã¸ãâ¦
ã¼ãããä½ãDeep Learning ⸠âãã¬ã¼ã ã¯ã¼ã¯ç·¨ä½è :æè¤ åº·æ¯ çºå£²æ¥: 2020/04/20ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼ ã¼ãããä½ãDeep Learning â¢ãè²·ã£ããDezeroã®Pythonå®è£ ãRubyã«ç§»æ¤ããå½¢ã§ç¬èªã«åå¼·ãã¦ããã次ã¯ã¹ããã5ã¨ã¹ããã6ã ã¹ããâ¦
LLVM IRã«ã¤ãã¦èª¿ã¹ã¦ããã¨ãæè¿ããMLIRã¨ããè¨èãç®ã«ããããã«ãªã£ããMLIRã¯"Multi-Level Intermediate Representation"ã®ç¥ç§°ã§ãã£ã¦æ±ºãã¦"Machine Learning"ã§ã¯ãªãã®ã ããLLVM IRãç½®ãæããããã«éçºããã¦ããæ°ããä¸é表ç¾å½¢å¼ã§ããâ¦
ã¼ãããä½ãDeep Learning ⸠âãã¬ã¼ã ã¯ã¼ã¯ç·¨ä½è :æè¤ åº·æ¯ çºå£²æ¥: 2020/04/20ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼ ã¼ãããä½ãDeep Learning â¢ãè²·ã£ããDezeroã®Pythonå®è£ ãRubyã«ç§»æ¤ããå½¢ã§ç¬èªã«åå¼·ãã¦ããã次ã¯ã¹ããã3ã¨ã¹ããã4ã ã¹ããâ¦
ã¼ãããä½ãDeep Learning ⸠âãã¬ã¼ã ã¯ã¼ã¯ç·¨ä½è :æè¤ åº·æ¯ çºå£²æ¥: 2020/04/20ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼ ã¼ãããä½ãDeep Learning â¢ãè²·ã£ããæ¨å¹´ã®Qiitaã§ãèªåã§ãã«ãã·ã¹ãã ãä½ã£ã¦ã¿ãéãããããããã©ãããã©ã¼ã ãä½ã話ã¯å¤§å¥½â¦
ååã®ã·ãã¥ã¬ã¼ã·ã§ã³ã®ãã¬ã¼ã¹æ å ±ã確èªãã¦ããã¨ãã©ããéä¸ããççã«ä¾å¤ã«é£ãã§ãããã¨ãåãã£ãã <FunctionCall 69225526 mcall_console_putchar (0x0000000080001b58)> <FunctionCall 69225538 htif_console_putchar (0x000000008000232a)> <Return 69225571 htif_console_putchar> <Return 69225576 mcall_console_putchar> <Return 69225582 mcall_trap> </return></return></return></functioncall></functioncall>
RISC-Vã¡ã¼ãªã³ã°ãªã¹ãã§ã¢ãã¦ã³ã¹ããã£ããã¦ã§ããã©ã¦ã¶ä¸ã§åä½ããRISC-Vãã¤ãã©ã¤ã³ã·ãã¥ã¬ã¼ã¿WebRISC-Vãé¢ç½ãã è«æãå ¬éããã¦ãããæ£ç´ä½ãæ°è¦è¦ç´ ãªã®ãã¯ããåãããªããããã£ããã¾ã¨ã¾ã£ã¦ãããã¨ã¯ãããã¨ãªã®ã§æéãåã£ã¦â¦
ããã¾ã§Verilogå´ããDPIãçµç±ãã¦C++ã®é¢æ°ãå¼ã³åºãããããæ¹æ³ã«ã¤ãã¦èª¿æ»ããã ãããããèãããDPIãçµç±ãã¦C++å´ã®å®è£ ããVerilogã®FunctionãTaskãå¼ã³åºãæ¹æ³ã«ã¤ãã¦ã¯ãã¾ã調ã¹ããã¨ãç¡ãã£ãã®ã§ãã£ã¦ã¿ããã¨ã«ããã åååæ§câ¦
ãªã¢ã¼ãã¯ã¼ã¯ã¨ã¯ç´æ¥é¢ä¿ãªãã®ã ããã©ããä»äºããã¦ããããããã°ãæ¸ãããããã¨ãã«ãã£ã¨æºã®åã«åº§ã£ã¦ããã¨ãå°»ãçããªãã ã¤ã±ã¤ã±ã®ãã³ãã£ã¼ä¼æ¥ã§ã¯ãæéãã¹ã¯ãå°å ¥ããã®ãæµè¡ã£ã¦ããããããããã¯ãããé åçã§ãé»åã®æéãâ¦
GCC 10.1ããªãªã¼ã¹ããããGCCã®ãã¼ã¸ã§ã³èªä½ã¯ãã¾ãçå£ã«è¿½ãããã¦ããªãã®ã§è©³ç´°ã«ãã§ãã¯ãã¦ããªãã®ã ããã¾ãã¯èªåã®ç°å¢ã«ã¤ã³ã¹ãã¼ã«ãã¦åä½ã確èªãã¦ããããã x86åãã«ãã«ãã試ã ãã¤ãéãtar.gzããã¦ã³ãã¼ããã¦ã¤ã³ã¹ãã¼ã«â¦
ååã®ç¶ããååã¯QEMUã§åä½ããããã¨ãã§ããããã«ãªã£ãã®ã§ãSpikeã¨èªä½RISC-V ISSã§åä½ã確èªãã¦ããã ãããããæã£ã¦ãããSpikeã¯ä»åã®ãã«ãç°å¢ã«å¯¾ãããµãã¼ãã¯ãã¦ããªãã®ã§åä½ããªããã¨ã¯äºæ³éããªã®ã ããä¸å¿ç¢ºèªãã¦ããããâ¦
RISC-V Getting Started Guideã¨ãããã¼ã¸ããããç®çãã¼ã¹ã§ãQEMUãLinuxãªã©ã®ãªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ãåããããã®æ¹æ³ããæ§ã ãªãã¼ã«ããããåããããã®æ å ±ãã¾ã¨ãããã¦ããã ååWSLã§ãã«ãã試è¡ãã¦ä¸æãè¡ããªãã£ãã®ã§ã次ã¯Virtâ¦
Verilog-HDLã使ã£ãæ¤è¨¼ã§ã¯ãC/C++ã®ã¢ãã«ã¨Verilogã®ã¢ãã«ãæ¥ç¶ããå調æ¤è¨¼ãé »ç¹ã«è¡ããããVerilatorã§ãåæ§ã®æ©è½ãæè¼ããã¦ãããDPI-Cã使ã£ãC/C++ã¨Verilogã¨ã®éä¿¡ãå®ç¾å¯è½ã ã ããã§ã¯ååä½æããcounter_4bit.svã«å¯¾ãã¦DPI-Cãçµâ¦
RISC-V Getting Started Guideã¨ãããã¼ã¸ããããç®çãã¼ã¹ã§ãQEMUãLinuxãªã©ã®ãªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ãåããããã®æ¹æ³ããæ§ã ãªãã¼ã«ããããåããããã®æ å ±ãã¾ã¨ãããã¦ããã risc-v-getting-started-guide.readthedocs.io ããã«"Runninâ¦
Verilatorã¯è«çã·ãã¥ã¬ã¼ã¿ã ãã§ã¯ãªããLintã¨ãã¦ãæ´»ç¨ãããã¨ãã§ãããä¾ãã°ããã¾ã§ä½¿ç¨ãã¦ããcounter_4bit.vãLintã«æãã¦ã¿ããã $ verilator --lint-only -Wall counter_4bit.v %Warning-DECLFILENAME: counter_4bit.v:1:8: Filename 'couâ¦
ãµã¨æ°ã«ãªã£ã¦ãRISC-Vã®32ãããããã大ããªå®æ°ã®ä½ãæ¹ã調ã¹ããã¨ã«ãããããã¯RISC-Vã®ISAã®è©±ã¨ãããããã³ã³ãã¤ã©ã®è©±ã ã ä¾ãã°ä»¥ä¸ã®ãããªããã°ã©ã ãGCCã§ã³ã³ãã¤ã«ããã¨ã©ã®ããã«å®æ°ãçæããã®ããã§ãã¯ãã¦ã¿ãã long_value.c â¦
Verilatorã®ä½¿ãæ¹ãåºæ¬çãªãã¸ã¿ã«åè·¯ã®ã·ãã¥ã¬ã¼ã·ã§ã³æ¹æ³ãåãã£ããã次ã¯æ³¢å½¢ããã³ãããæ¹æ³ã ã Verilatorã使ã£ã¦RTLã·ãã¥ã¬ã¼ã·ã§ã³ããã¹ã¦ããªã¼ã®ãã¼ã«ã§å®çµããããå ´åã波形ããã³ãããããã«ã¯ä¸»ã«ä»¥ä¸ã®2種é¡ã®æ¹æ³ãããã vcdâ¦
ç§ã®éçºããRISC-Vã·ãã¥ã¬ã¼ã¿ã¯Linuxãç«ã¡ä¸ãããã¨ãã§ãããã·ãã¥ã¬ã¼ã¿ã®ãããã°æã«ã¯ç¸å½ä¸èº«ãèªã¿è¾¼ãã ã®ã ãããã¡ãã¨æç« åãã¦ããªãæå¥ã大æã®ããã¸ã§ã¯ããªã®ã§ããå¿ãããã¦ããã Linuxã®ãã¼ãã®æ¹æ³ããå種ããã»ã¹ã®åãæ±ãâ¦
Verilatorã«ã¤ãã¦å ¨ãç¥ããªã人ããã©ã®ããã«ä½¿ãã°è¯ãã®ããã¡ãã¨ããæç« ãä¸ã®ä¸ã«åå¨ãã¦ããªãæ°ãããã®ã§ãå°ãã¾ã¨ãã¦ã¿ããã¨ã«ãããVerilatorã¯ããªã¼ã§ãªã¼ãã³ã½ã¼ã¹ã®Verilogã·ãã¥ã¬ã¼ã·ã§ã³ã·ã¹ãã ãªã®ã§ããã¾ãæ´»ç¨ããã°å¼·åãªæ¦â¦
RISC-Vã®ã³ã¼ãã¢ãã«ã«ã¤ãã¦ãããã調ã¹ãæ©ä¼ããã£ãã®ã§ã¾ã¨ãã¦ããã åèã«ããã®ã¯ã www.sifive.com RISC-V Large Code Model Software Workaround https://sifive.cdn.prismic.io/sifive%2F15d1d90e-f60e-42a2-b6bf-c805c6c73b0d_riscv-large-coâ¦
RISC-Vã®ã³ã¼ãã¢ãã«ã«ã¤ãã¦ãããã調ã¹ãæ©ä¼ããã£ãã®ã§ã¾ã¨ãã¦ããã åèã«ããã®ã¯ã www.sifive.com RISC-V Large Code Model Software Workaround https://sifive.cdn.prismic.io/sifive%2F15d1d90e-f60e-42a2-b6bf-c805c6c73b0d_riscv-large-coâ¦
ç§ã®éçºããRISC-Vã·ãã¥ã¬ã¼ã¿ã¯Linuxãç«ã¡ä¸ãããã¨ãã§ãããã·ãã¥ã¬ã¼ã¿ã®ãããã°æã«ã¯ç¸å½ä¸èº«ãèªã¿è¾¼ãã ã®ã ãããã¡ãã¨æç« åãã¦ããªãæå¥ã大æã®ããã¸ã§ã¯ããªã®ã§ããå¿ãããã¦ããã Linuxã®ãã¼ãã®æ¹æ³ããå種ããã»ã¹ã®åãæ±ãâ¦
ç§ã®éçºããRISC-Vã·ãã¥ã¬ã¼ã¿ã¯Linuxãç«ã¡ä¸ãããã¨ãã§ãããã·ãã¥ã¬ã¼ã¿ã®ãããã°æã«ã¯ç¸å½ä¸èº«ãèªã¿è¾¼ãã ã®ã ãããã¡ãã¨æç« åãã¦ããªãæå¥ã大æã®ããã¸ã§ã¯ããªã®ã§ããå¿ãããã¦ããã Linuxã®ãã¼ãã®æ¹æ³ããå種ããã»ã¹ã®åãæ±ãâ¦