Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions include/ur_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -3797,7 +3797,7 @@ urUSMPoolGetInfo(
#endif
// Intel 'oneAPI' Unified Runtime APIs
#if !defined(__GNUC__)
#pragma region virtual memory
#pragma region virtual_memory
#endif
///////////////////////////////////////////////////////////////////////////////
/// @brief Virtual memory granularity info
Expand Down Expand Up @@ -7354,7 +7354,7 @@ urEnqueueWriteHostPipe(
#endif
// Bindless Images Extension APIs
#if !defined(__GNUC__)
#pragma region bindless images(experimental)
#pragma region bindless_images_(experimental)
#endif
///////////////////////////////////////////////////////////////////////////////
/// @brief Handle of bindless image
Expand Down Expand Up @@ -8152,7 +8152,7 @@ urBindlessImagesSignalExternalSemaphoreExp(
#endif
// Intel 'oneAPI' Unified Runtime Experimental APIs for Command-Buffers
#if !defined(__GNUC__)
#pragma region command buffer(experimental)
#pragma region command_buffer_(experimental)
#endif
///////////////////////////////////////////////////////////////////////////////
/// @brief Command-buffer query information type
Expand Down Expand Up @@ -9005,7 +9005,7 @@ urCommandBufferCommandGetInfoExp(
#endif
// Intel 'oneAPI' Unified Runtime Experimental APIs for Cooperative Kernels
#if !defined(__GNUC__)
#pragma region cooperative kernels(experimental)
#pragma region cooperative_kernels_(experimental)
#endif
///////////////////////////////////////////////////////////////////////////////
#ifndef UR_COOPERATIVE_KERNELS_EXTENSION_STRING_EXP
Expand Down Expand Up @@ -9093,7 +9093,7 @@ urKernelSuggestMaxCooperativeGroupCountExp(
#endif
// Intel 'oneAPI' Unified Runtime Experimental APIs for enqueuing timestamp recordings
#if !defined(__GNUC__)
#pragma region enqueue timestamp recording(experimental)
#pragma region enqueue_timestamp_recording_(experimental)
#endif
///////////////////////////////////////////////////////////////////////////////
/// @brief Enqueue a command for recording the device timestamp
Expand Down Expand Up @@ -9135,7 +9135,7 @@ urEnqueueTimestampRecordingExp(
#endif
// Intel 'oneAPI' Unified Runtime Experimental APIs for (kernel) Launch Properties
#if !defined(__GNUC__)
#pragma region launch properties(experimental)
#pragma region launch_properties_(experimental)
#endif
///////////////////////////////////////////////////////////////////////////////
#ifndef UR_LAUNCH_PROPERTIES_EXTENSION_STRING_EXP
Expand Down Expand Up @@ -9262,7 +9262,7 @@ urEnqueueKernelLaunchCustomExp(
#endif
// Intel 'oneAPI' Unified Runtime Experimental APIs for multi-device compile
#if !defined(__GNUC__)
#pragma region multi device compile(experimental)
#pragma region multi_device_compile_(experimental)
#endif
///////////////////////////////////////////////////////////////////////////////
#ifndef UR_MULTI_DEVICE_COMPILE_EXTENSION_STRING_EXP
Expand Down Expand Up @@ -9392,7 +9392,7 @@ urProgramLinkExp(
#endif
// Intel 'oneAPI' USM Import/Release Extension APIs
#if !defined(__GNUC__)
#pragma region usm import release(experimental)
#pragma region usm_import_release_(experimental)
#endif
///////////////////////////////////////////////////////////////////////////////
/// @brief Import memory into USM
Expand Down Expand Up @@ -9445,7 +9445,7 @@ urUSMReleaseExp(
#endif
// Intel 'oneAPI' Unified Runtime Experimental APIs for USM P2P
#if !defined(__GNUC__)
#pragma region usm p2p(experimental)
#pragma region usm_p2p_(experimental)
#endif
///////////////////////////////////////////////////////////////////////////////
#ifndef UR_USM_P2P_EXTENSION_STRING_EXP
Expand Down Expand Up @@ -9601,7 +9601,7 @@ urUsmP2PPeerAccessGetInfoExp(
#endif
// Intel 'oneAPI' Unified Runtime Experimental API for enqueuing work through native APIs
#if !defined(__GNUC__)
#pragma region native enqueue(experimental)
#pragma region native_enqueue_(experimental)
#endif
///////////////////////////////////////////////////////////////////////////////
/// @brief Native enqueue properties
Expand Down
2 changes: 1 addition & 1 deletion scripts/templates/api.h.mako
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ extern "C" {
%if len(spec['objects']):
// ${th.subt(n, tags, spec['header']['desc'])}
#if !defined(__GNUC__)
#pragma region ${spec['name']}
#pragma region ${spec['name'].replace(' ', '_')}
#endif
%endif
%for obj in spec['objects']:
Expand Down