Skip to content

Instantly share code, notes, and snippets.

View han-minhee's full-sized avatar

Han, Minhee han-minhee

View GitHub Profile
@han-minhee
han-minhee / setup_oneapi_windows.ps1
Created July 17, 2025 15:09
This script will setup oneAPI related environment variables on Windows PowerShell.
#
# Intel oneAPI Environment Setup for Windows (PowerShell)
#
# By default, Intel oneAPI requires running .bat scripts, which isn't that ideal as
# 1. most Windows environments now use Powershell as their default shells and
# 2. having to run the script everytime is really annoying.
# This script sets up the Intel oneAPI environment variables for the current PowerShell session
# It's designed to replace the functionality of setvars.bat from Intel oneAPI
# You can run this script without any argument.
#