This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get all the provisioned packages | |
$Packages = (get-item 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Applications') | Get-ChildItem | |
# Filter the list if provided a filter | |
$PackageFilter = $args[0] | |
if ([string]::IsNullOrEmpty($PackageFilter)) | |
{ | |
echo "No filter specified, attempting to re-register all provisioned apps." | |
} | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the mlir code that I was trying to compile | |
module { | |
func @matmul_linalg(%A: memref<8x8xf32>, %B: memref<8x8xf32>, %C: memref<8x8xf32>) { | |
linalg.matmul ins(%A, %B : memref<8x8xf32>, memref<8x8xf32>) | |
outs(%C: memref<8x8xf32>) | |
return | |
} | |
func @main() { | |
%A = memref.alloc() : memref<8x8xf32> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func @matmul(%A: memref<24x96xf32>, %B: memref<96x64xf32>, %C: memref<24x64xf32>) { | |
%cf1 = constant 0.0 : f32 | |
%AC = memref.cast %A : memref<24x96xf32> to memref<*xf32> | |
%BC = memref.cast %B : memref<96x64xf32> to memref<*xf32> | |
%CC = memref.cast %C : memref<24x64xf32> to memref<*xf32> | |
gpu.host_register %AC : memref<*xf32> | |
gpu.host_register %BC : memref<*xf32> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
##### Header file test.hpp ##### | |
*/ | |
#ifndef __TEST_HPP__ | |
#define __TEST_HPP__ | |
#include <complex> | |
#include <iostream> |
OlderNewer