Example #1
0
 /// <summary>
 /// <para>Target is chosen based on supplied ::CUjit_target_enum.</para>
 /// <para>Option type: unsigned int for enumerated type ::CUjit_target_enum</para>
 /// <para>Applies to: compiler and linker</para>
 /// </summary>
 /// <param name="value"></param>
 public CudaJOTarget(CUJITTarget value)
 {
     _option   = CUJITOption.Target;
     _ptrValue = (IntPtr)(Convert.ToUInt32(value, System.Globalization.CultureInfo.InvariantCulture));
 }
Example #2
0
		/// <summary>
		/// <para>Target is chosen based on supplied ::CUjit_target_enum.</para>
		/// <para>Option type: unsigned int for enumerated type ::CUjit_target_enum</para>
		/// <para>Applies to: compiler and linker</para>
		/// </summary>
		/// <param name="value"></param>
		public CudaJOTarget(CUJITTarget value)
		{
			_option = CUJITOption.Target;
			_ptrValue = (IntPtr)(Convert.ToUInt32(value, System.Globalization.CultureInfo.InvariantCulture));
		}