<p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-family: 돋움, Dotum, 굴림, Gulim, Helvetica, AppleGothic; font-size: 12px; line-height: 14.4px; margin-top: 0px; margin-bottom: 0px;">Hi, I am a newbie on the intel-gfx and tries to use the shared virtual memory </span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-family: 돋움, Dotum, 굴림, Gulim, Helvetica, AppleGothic; font-size: 12px; line-height: 14.4px; margin-top: 0px; margin-bottom: 0px;">which is mentioned in several intel documents (<a href="http://www.intel.com/content/dam/www/public/us/en/documents/product-specifications/vt-directed-io-spec.pdf" target="_blank" title="" id="" class="">vt-d</a> and <a href="https://01.org/sites/default/files/documentation/intel-gfx-prm-osrc-skl-vol05-memory_views.pdf" target="_blank" title="" id="" class="">Intel-gfx-prm</a>)</span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-family: 돋움, Dotum, 굴림, Gulim, Helvetica, AppleGothic; font-size: 12px; line-height: 14.4px; margin-top: 0px; margin-bottom: 0px;">supported in the opencl library to share address space between</span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-family: 돋움, Dotum, 굴림, Gulim, Helvetica, AppleGothic; font-size: 12px; line-height: 14.4px; margin-top: 0px; margin-bottom: 0px;">CPU and intel integrated GPU.</span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-family: 돋움, Dotum, 굴림, Gulim, Helvetica, AppleGothic; font-size: 12px; line-height: 14.4px; margin-top: 0px; margin-bottom: 0px;"><br></span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-family: 돋움, Dotum, 굴림, Gulim, Helvetica, AppleGothic; font-size: 12px; line-height: 14.4px; margin-top: 0px; margin-bottom: 0px;">As far as I know, shared virtual memory is supported as a part of intel VT-D extension</span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-family: 돋움, Dotum, 굴림, Gulim, Helvetica, AppleGothic; font-size: 12px; line-height: 14.4px; margin-top: 0px; margin-bottom: 0px;">with the help of IOMMU and PASID. </span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-family: 돋움, Dotum, 굴림, Gulim, Helvetica, AppleGothic; font-size: 12px; line-height: 14.4px; margin-top: 0px; margin-bottom: 0px;"><br></span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-family: 돋움, Dotum, 굴림, Gulim, Helvetica, AppleGothic; font-size: 12px; line-height: 14.4px; margin-top: 0px; margin-bottom: 0px;">Although It seems that intel-gfx repo has the source code related with PASID,</span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-family: 돋움, Dotum, 굴림, Gulim, Helvetica, AppleGothic; font-size: 12px; line-height: 14.4px; margin-top: 0px; margin-bottom: 0px;">the opencl library for intel-gfx (beignet) doesn't use the any functions</span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-family: 돋움, Dotum, 굴림, Gulim, Helvetica, AppleGothic; font-size: 12px; line-height: 14.4px; margin-top: 0px; margin-bottom: 0px;">related with PAISD nor IOMMU.</span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-family: 돋움, Dotum, 굴림, Gulim, Helvetica, AppleGothic; font-size: 12px; line-height: 14.4px; margin-top: 0px; margin-bottom: 0px;"><br></span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-family: 돋움, Dotum, 굴림, Gulim, Helvetica, AppleGothic; font-size: 12px; line-height: 14.4px; margin-top: 0px; margin-bottom: 0px;">It seems that </span><span style="font-size: 11pt; font-family: 돋움; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;">clSVMAlloc is a opencl function for zero copy</span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;">following the<a href="https://software.intel.com/en-us/articles/opencl-20-shared-virtual-memory-overview" target="_blank" title="" id="" class=""> Intel document</a>,</p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-size: 11pt; font-family: 돋움; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;">but it doesn't use any functions related with PASID and IOMMU.</span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-size: 11pt; font-family: 돋움; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><br></span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-size: 11pt; font-family: 돋움; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;">Is the current intel-gfx supports the virtual address space sharing </span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-size: 11pt; font-family: 돋움; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;">thorugh the </span><span style="font-size: 11pt; font-family: 돋움; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;">IOMMU and PASID? </span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"> </p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;">*I am so sorry If I sent this mail to wrong <span style="font-size: 11pt; font-family: 돋움; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;">mailing list</span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><span style="font-size: 11pt; font-family: 돋움; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"><br></span></p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;">Best regards</p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;">Jaehyuk.</p><p style="font-family: 돋움; font-size: 14.6667px; line-height: 17.6px; margin-top: 0px; margin-bottom: 0px;"> </p>

<img id='mailexp' width=0 heigh=0 border=0 src='https://mail.kaist.ac.kr/Mail?act=RECEIPT_CHECK&ukey=59102ae13fecc80e2e6ddfdc&userid=jhl9105&mhost=kaist.ac.kr&ahost=d0001'>