Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::experi...k::copy_from(3) C++ Standard Libarystd::experi...k::copy_from(3)

NAME
       std::experimental::simd_mask::copy_from	      -	       std::experimen-
       tal::simd_mask::copy_from

Synopsis
	  template<class Flags>				   (parallelism	TS v2)
	  void copy_from( const	bool* mem, Flags flags );

	  The load function replaces all elements of a simd_mask such that the
       i-th element is
	  assigned with	mem[i] for all i in the	range of [0, size()).

Parameters
	  mem	- a pointer into an array where	[mem, mem + size()) is a valid
       range
	  flags	- if of	type vector_aligned_tag, the load constructor may  as-
       sume mem	to point
		  to storage aligned by	memory_alignment_v<simd_mask>

Type requirements
	  -
	  is_simd_flag_type_v<Flags> must be true.

See also
	  element_aligned_tag  flag indicating alignment of the	load/store ad-
       dress to	element
	  element_aligned     alignment
	  (parallelism TS v2) (class)
	  vector_aligned_tag  flag indicating alignment	of the load/store  ad-
       dress to	vector
	  vector_aligned      alignment
	  (parallelism TS v2) (class)
	  overaligned_tag      flag indicating alignment of the	load/store ad-
       dress to	the
	  overaligned	      specified	alignment
	  (parallelism TS v2) (class template)
	  memory_alignment     obtains	an  appropriate	 alignment  for	  vec-
       tor_aligned
	  (parallelism TS v2) (class template)
	  constructor	      constructs a simd_mask object
	  (parallelism TS v2) (public member function)
	  copy_to	      stores simd_mask elements	to contiguous memory
	  (parallelism TS v2) (public member function)
	  copy_from	      loads simd elements from contiguous memory
	  (parallelism	TS  v2)	 (public  member  function  of std::experimen-
       tal::simd<T,Abi>)

http://cppreference.com		  2024.06.10	 std::experi...k::copy_from(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::experimental::simd_mask::copy_from&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help