{"metadata":{"_oai":{"id":"oai:ipsj.ixsq.nii.ac.jp:00218947","sets":["1164:2240:10902:10971"]},"path":["10971"],"owner":"44499","recid":"218947","title":["Tensorコアを用いた単精度行列積エミュレーションのアプリケーションでの評価"],"pubdate":{"attribute_name":"公開日","attribute_value":"2022-07-20"},"_buckets":{"deposit":"b7055f44-9955-48a6-91a4-38c4826a51b2"},"_deposit":{"id":"218947","pid":{"type":"depid","value":"218947","revision_id":0},"owners":[44499],"status":"published","created_by":44499},"item_title":"Tensorコアを用いた単精度行列積エミュレーションのアプリケーションでの評価","author_link":["570434","570433"],"item_titles":{"attribute_name":"タイトル","attribute_value_mlt":[{"subitem_title":"Tensorコアを用いた単精度行列積エミュレーションのアプリケーションでの評価"}]},"item_keyword":{"attribute_name":"キーワード","attribute_value_mlt":[{"subitem_subject":"行列演算","subitem_subject_scheme":"Other"}]},"item_type_id":"4","publish_date":"2022-07-20","item_4_text_3":{"attribute_name":"著者所属","attribute_value_mlt":[{"subitem_text_value":"東京工業大学"},{"subitem_text_value":"東京工業大学"}]},"item_language":{"attribute_name":"言語","attribute_value_mlt":[{"subitem_language":"jpn"}]},"item_publisher":{"attribute_name":"出版者","attribute_value_mlt":[{"subitem_publisher":"情報処理学会","subitem_publisher_language":"ja"}]},"publish_status":"0","weko_shared_id":-1,"item_file_price":{"attribute_name":"Billing file","attribute_type":"file","attribute_value_mlt":[{"url":{"url":"https://ipsj.ixsq.nii.ac.jp/record/218947/files/IPSJ-HPC22185009.pdf","label":"IPSJ-HPC22185009.pdf"},"date":[{"dateType":"Available","dateValue":"2024-07-20"}],"format":"application/pdf","billing":["billing_file"],"filename":"IPSJ-HPC22185009.pdf","filesize":[{"value":"1.3 MB"}],"mimetype":"application/pdf","priceinfo":[{"tax":["include_tax"],"price":"660","billingrole":"5"},{"tax":["include_tax"],"price":"330","billingrole":"6"},{"tax":["include_tax"],"price":"0","billingrole":"14"},{"tax":["include_tax"],"price":"0","billingrole":"44"}],"accessrole":"open_date","version_id":"33bc495e-e210-4f3d-a3e3-dd8ba295ea95","displaytype":"detail","licensetype":"license_note","license_note":"Copyright (c) 2022 by the Information Processing Society of Japan"}]},"item_4_creator_5":{"attribute_name":"著者名","attribute_type":"creator","attribute_value_mlt":[{"creatorNames":[{"creatorName":"大友, 広幸"}],"nameIdentifiers":[{}]},{"creatorNames":[{"creatorName":"横田, 理央"}],"nameIdentifiers":[{}]}]},"item_4_source_id_9":{"attribute_name":"書誌レコードID","attribute_value_mlt":[{"subitem_source_identifier":"AN10463942","subitem_source_identifier_type":"NCID"}]},"item_4_textarea_12":{"attribute_name":"Notice","attribute_value_mlt":[{"subitem_textarea_value":"SIG Technical Reports are nonrefereed and hence may later appear in any journals, conferences, symposia, etc."}]},"item_resource_type":{"attribute_name":"資源タイプ","attribute_value_mlt":[{"resourceuri":"http://purl.org/coar/resource_type/c_18gh","resourcetype":"technical report"}]},"item_4_source_id_11":{"attribute_name":"ISSN","attribute_value_mlt":[{"subitem_source_identifier":"2188-8841","subitem_source_identifier_type":"ISSN"}]},"item_4_description_7":{"attribute_name":"論文抄録","attribute_value_mlt":[{"subitem_description":"混合精度行列積和演算回路である NVIDIA Tensor コアは FP16 や TF32 といった低精度変数を入力とし,行列積和計算内部の各要素の乗算及び加算を単精度等の高精度で行う.Tensor コアを用いて単精度行列積を行う場合,入力行列を低精度へ変換する必要があり,最終的な計算精度が劣化する.この計算精度の劣化を Tensor コアの特長を利用し補正し,単精度行列積を高速にエミュレートする手法が考案されている.指数部長が FP32 と同じ 8bit である TF32 を入力とする Tensor コアを用いた場合,計算精度及び入力行列の指数部範囲のともに単精度行列積をエミュレートすることが可能である一方,指数部長の小さい FP16 を入力とする Tensor コアを用いた単精度行列積エミュレーションでは対応可能な指数部範囲が限定される.一方で FP16 Tensor コアは TF32 Tensor コアより高い計算性能を持ち,精度補正計算において計算可能な指数部範囲と計算性能の間にトレードオフが存在する.本研究では cuBLAS の単精度行列積関数の関数呼び出しを乗っ取り,代わりに Tensor コアを用いた単精度積エミュレーションを実行するライブラリを開発し,精度補正の有無や内部で使用する Tensor コアの入力の型を変えた場合の計算精度の評価を行った.このライブラリを用いて PyTorch 及び CuPy の単精度行列積を乗っ取り,深層学習及び量子計算機シミュレーションを評価対象とした.","subitem_description_type":"Other"}]},"item_4_biblio_info_10":{"attribute_name":"書誌情報","attribute_value_mlt":[{"bibliographicPageEnd":"8","bibliographic_titles":[{"bibliographic_title":"研究報告ハイパフォーマンスコンピューティング(HPC)"}],"bibliographicPageStart":"1","bibliographicIssueDates":{"bibliographicIssueDate":"2022-07-20","bibliographicIssueDateType":"Issued"},"bibliographicIssueNumber":"9","bibliographicVolumeNumber":"2022-HPC-185"}]},"relation_version_is_last":true,"weko_creator_id":"44499"},"id":218947,"updated":"2025-01-19T14:58:46.272110+00:00","links":{},"created":"2025-01-19T01:19:17.372740+00:00"}