*)
# Unlikely to work.
AC_MSG_WARN([=== You have requested Sun symbol versioning, but])
- AC_MSG_WARN([=== you are not targetting Solaris 2.])
+ AC_MSG_WARN([=== you are not targeting Solaris 2.])
AC_MSG_WARN([=== Symbol versioning will be disabled.])
enable_symvers=no
;;
# Unlikely to work.
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
$as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
-$as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targeting Solaris 2." >&5
+$as_echo "$as_me: WARNING: === you are not targeting Solaris 2." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
enable_symvers=no
return false;
}
-/* Parse the OMP_STACKSIZE environment varible. Return true if one was
+/* Parse the OMP_STACKSIZE environment variable. Return true if one was
present and it was successfully parsed. */
static bool
return false;
}
-/* Parse the GOMP_SPINCOUNT environment varible. Return true if one was
+/* Parse the GOMP_SPINCOUNT environment variable. Return true if one was
present and it was successfully parsed. */
static bool
return false;
}
-/* Parse the GOMP_CPU_AFFINITY environment varible. Return true if one was
+/* Parse the GOMP_CPU_AFFINITY environment variable. Return true if one was
present and it was successfully parsed. */
static bool
return true;
invalid:
- gomp_error ("Invalid value for enviroment variable GOMP_CPU_AFFINITY");
+ gomp_error ("Invalid value for environment variable GOMP_CPU_AFFINITY");
return false;
}
{
/* Using a rough estimation of 100000 spins per msec,
use 5 min blocking for OMP_WAIT_POLICY=active,
- 3 msec blocking when OMP_WAIT_POLICY is not specificed
+ 3 msec blocking when OMP_WAIT_POLICY is not specified
and 0 when OMP_WAIT_POLICY=passive.
Depending on the CPU speed, this can be e.g. 5 times longer
or 5 times shorter. */
reverse_splay_tree_node rev_array;
/* Start of the target region. */
uintptr_t tgt_start;
- /* End of the targer region. */
+ /* End of the target region. */
uintptr_t tgt_end;
/* Handle to free. */
void *to_free;
to get use on the device - that's for the 'indirect' clause feature.
In order to habe host initialization work, the pointer sizes must be
- the same - and either the the endianess or the host-device memcopy
+ the same - and either the the endianness or the host-device memcopy
has to take of it. */
typedef unsigned __int128 hash_entry_type;
/* As an HIP runtime is dlopened, following structure defines function
pointers utilized by the interop feature of this plugin.
- Add suffient type declarations to get this work. */
+ Add sufficient type declarations to get this work. */
typedef int hipError_t; /* Actually an enum; 0 == success. */
typedef void* hipCtx_t;
};
/* Structure describing the run-time and grid properties of an HSA kernel
- lauch. This needs to match the format passed to GOMP_OFFLOAD_run. */
+ launch. This needs to match the format passed to GOMP_OFFLOAD_run. */
struct GOMP_kernel_launch_attributes
{
static int
limit_worker_threads (int threads)
{
- /* FIXME Do something more inteligent here.
+ /* FIXME Do something more intelligent here.
GCN can always run 4 threads within a Compute Unit, but
more than that depends on register usage. */
if (threads > 16)
while setting up each team. This is purely a performance optimization.
The stack space is used by all kernels. We must allocate it in such a
- way that the reverse offload implmentation can access the data.
+ way that the reverse offload implementation can access the data.
Allocating this memory costs performance, so this function will reuse an
existing allocation if a large enough one is idle.
}
/* Return the UID; if not available return NULL.
- Returns freshly allocated memoy. */
+ Returns freshly allocated memory. */
const char *
GOMP_OFFLOAD_get_uid (int ord)
}
/* Return the UID; if not available return NULL.
- Returns freshly allocated memoy. */
+ Returns freshly allocated memory. */
const char *
GOMP_OFFLOAD_get_uid (int ord)
gomp_copy_host2dev (devicep, aq,
(void *) (tgt->tgt_start + tgt_size),
(void *) hostaddrs[i], len, false, cbufp);
- /* Save device address in hostaddr to permit latter availablity
+ /* Save device address in hostaddr to permit latter availability
when doing a deep-firstprivate with pointer attach. */
hostaddrs[i] = (void *) (tgt->tgt_start + tgt_size);
tgt_size += len;
pointer members, the mapping and the attach can end up
in different sets; or the wrong mapping with the
attach. As there is no way to know whether a size
- zero like 'var->ptr[i][:0]' happend in the same
+ zero like 'var->ptr[i][:0]' happened in the same
directive or not, the not-attached check is now
fully silenced for 'enter data'. */
if (openmp_p && (pragma_kind & GOMP_MAP_VARS_ENTER_DATA))
/* Reverse lookup (device addr -> host addr) for reverse offload. We avoid
keeping track of all variable handling - assuming that reverse offload occurs
- ony very rarely. Downside is that the reverse search is slow. */
+ only very rarely. Downside is that the reverse search is slow. */
struct gomp_splay_tree_rev_lookup_data {
uintptr_t tgt_start;