12#include <cuda_runtime.h>
435 return "invalidconfig";
439 return "paramnotset";
463 return "filenotfound";
467 return "dirnotfound";
479 return "std_exception";
481 return "std_bad_alloc";
483 return "std_logic_error";
485 return "std_invalid_argument";
487 return "std_domain_error";
489 return "std_length_error";
491 return "std_out_of_range";
493 return "std_future_error";
495 return "std_bad_optional_access";
497 return "std_filesystem_error";
499 return "std_runtime_error";
501 return "std_range_error";
503 return "std_overflow_error";
505 return "std_underflow_error";
507 return "std_ios_base_failure";
509 return "std_format_error";
521 return "eaddrnotavail";
523 return "eafnosupport";
539 return "econnaborted";
541 return "econnrefused";
545 return "edestaddrreq";
555 return "ehostunreach";
561 return "einprogress";
581 return "enametoolong";
587 return "enetunreach";
609 return "enoprotoopt";
625 return "enotrecoverable";
647 return "eprotonosupport";
665 return "ewouldblock";
669 return "fits_same_file";
671 return "fits_too_many_files";
673 return "fits_file_not_opened";
675 return "fits_file_not_created";
677 return "fits_write_error";
679 return "fits_end_of_file";
681 return "fits_read_error";
683 return "fits_file_not_closed";
685 return "fits_array_too_big";
687 return "fits_readonly_file";
689 return "fits_memory_allocation";
691 return "fits_bad_fileptr";
693 return "fits_null_input_ptr";
695 return "fits_seek_error";
697 return "fits_bad_nettimeout";
699 return "fits_bad_url_prefix";
701 return "fits_too_many_drivers";
703 return "fits_driver_init_failed";
705 return "fits_no_matching_driver";
707 return "fits_url_parse_error";
709 return "fits_range_parse_error";
711 return "fits_shared_badarg";
713 return "fits_shared_nulptr";
715 return "fits_shared_tabfull";
717 return "fits_shared_notinit";
719 return "fits_shared_ipcerr";
721 return "fits_shared_nomem";
723 return "fits_shared_again";
725 return "fits_shared_nofile";
727 return "fits_shared_noresize";
729 return "fits_header_not_empty";
731 return "fits_key_no_exist";
733 return "fits_key_out_bounds";
735 return "fits_value_undefined";
737 return "fits_no_quote";
739 return "fits_bad_index_key";
741 return "fits_bad_keychar";
743 return "fits_bad_order";
745 return "fits_not_pos_int";
747 return "fits_no_end";
749 return "fits_bad_bitpix";
751 return "fits_bad_naxis";
753 return "fits_bad_naxes";
755 return "fits_bad_pcount";
757 return "fits_bad_gcount";
759 return "fits_bad_tfields";
761 return "fits_neg_width";
763 return "fits_neg_rows";
765 return "fits_col_not_found";
767 return "fits_bad_simple";
769 return "fits_no_simple";
771 return "fits_no_bitpix";
773 return "fits_no_naxis";
775 return "fits_no_naxes";
777 return "fits_no_xtension";
779 return "fits_not_atable";
781 return "fits_not_btable";
783 return "fits_no_pcount";
785 return "fits_no_gcount";
787 return "fits_no_tfields";
789 return "fits_no_tbcol";
791 return "fits_no_tform";
793 return "fits_not_image";
795 return "fits_bad_tbcol";
797 return "fits_not_table";
799 return "fits_col_too_wide";
801 return "fits_col_not_unique";
803 return "fits_bad_row_width";
805 return "fits_unknown_ext";
807 return "fits_unknown_rec";
809 return "fits_end_junk";
811 return "fits_bad_header_fill";
813 return "fits_bad_data_fill";
815 return "fits_bad_tform";
817 return "fits_bad_tform_dtype";
819 return "fits_bad_tdim";
821 return "fits_bad_heap_ptr";
823 return "fits_bad_hdu_num";
825 return "fits_bad_col_num";
827 return "fits_neg_file_pos";
829 return "fits_neg_bytes";
831 return "fits_bad_row_num";
833 return "fits_bad_elem_num";
835 return "fits_not_ascii_col";
837 return "fits_not_logical_col";
839 return "fits_bad_atable_format";
841 return "fits_bad_btable_format";
843 return "fits_no_null";
845 return "fits_not_vari_len";
847 return "fits_bad_dimen";
849 return "fits_bad_pix_num";
851 return "fits_zero_scale";
853 return "fits_neg_axis";
855 return "fits_not_group_table";
857 return "fits_hdu_already_member";
859 return "fits_member_not_found";
861 return "fits_group_not_found";
863 return "fits_bad_group_id";
865 return "fits_too_many_hdus_tracked";
867 return "fits_hdu_already_tracked";
869 return "fits_bad_option";
871 return "fits_identical_pointers";
873 return "fits_bad_group_attach";
875 return "fits_bad_group_detach";
877 return "fits_ngp_no_memory";
879 return "fits_ngp_read_err";
881 return "fits_ngp_nul_ptr";
883 return "fits_ngp_empty_curline";
885 return "fits_ngp_unread_queue_full";
887 return "fits_ngp_inc_nesting";
889 return "fits_ngp_err_fopen";
891 return "fits_ngp_eof";
893 return "fits_ngp_bad_arg";
895 return "fits_ngp_token_not_expect";
897 return "fits_bad_i2c";
899 return "fits_bad_f2c";
901 return "fits_bad_intkey";
903 return "fits_bad_logicalkey";
905 return "fits_bad_floatkey";
907 return "fits_bad_doublekey";
909 return "fits_bad_c2i";
911 return "fits_bad_c2f";
913 return "fits_bad_c2d";
915 return "fits_bad_datatype";
917 return "fits_bad_decim";
919 return "fits_num_overflow";
921 return "fits_data_compression_err";
923 return "fits_data_decompression_err";
925 return "fits_bad_date";
927 return "fits_parse_syntax_err";
929 return "fits_parse_bad_type";
931 return "fits_parse_lrg_vector";
933 return "fits_parse_no_output";
935 return "fits_parse_bad_col";
937 return "fits_parse_bad_output";
939 return "fits_angle_too_big";
941 return "fits_bad_wcs_val";
943 return "fits_wcs_error";
945 return "fits_bad_wcs_proj";
947 return "fits_no_wcs_key";
949 return "fits_approx_wcs_key";
951 return "cuda_success";
953 return "cuda_invalid_value";
955 return "cuda_memory_allocation";
957 return "cuda_initialization_error";
959 return "cuda_cudart_unloading";
961 return "cuda_profiler_disabled";
963 return "cuda_profiler_not_initialized";
965 return "cuda_profiler_already_started";
967 return "cuda_profiler_already_stopped";
969 return "cuda_invalid_configuration";
971 return "cuda_invalid_pitch_value";
973 return "cuda_invalid_symbol";
975 return "cuda_invalid_host_pointer";
977 return "cuda_invalid_device_pointer";
979 return "cuda_invalid_texture";
981 return "cuda_invalid_texture_binding";
983 return "cuda_invalid_channel_descriptor";
985 return "cuda_invalid_memcpy_direction";
987 return "cuda_address_of_constant";
989 return "cuda_texture_fetch_failed";
991 return "cuda_texture_not_bound";
993 return "cuda_synchronization_error";
995 return "cuda_invalid_filter_setting";
997 return "cuda_invalid_norm_setting";
999 return "cuda_mixed_device_execution";
1001 return "cuda_not_yet_implemented";
1003 return "cuda_memory_value_too_large";
1005 return "cuda_stub_library";
1007 return "cuda_insufficient_driver";
1009 return "cuda_call_requires_newer_driver";
1011 return "cuda_invalid_surface";
1013 return "cuda_duplicate_variable_name";
1015 return "cuda_duplicate_texture_name";
1017 return "cuda_duplicate_surface_name";
1019 return "cuda_devices_unavailable";
1021 return "cuda_incompatible_driver_context";
1023 return "cuda_missing_configuration";
1025 return "cuda_prior_launch_failure";
1027 return "cuda_launch_max_depth_exceeded";
1029 return "cuda_launch_file_scoped_tex";
1031 return "cuda_launch_file_scoped_surf";
1033 return "cuda_sync_depth_exceeded";
1035 return "cuda_launch_pending_count_exceeded";
1037 return "cuda_invalid_device_function";
1039 return "cuda_no_device";
1041 return "cuda_invalid_device";
1043 return "cuda_device_not_licensed";
1045 return "cuda_software_validity_not_established";
1047 return "cuda_startup_failure";
1049 return "cuda_invalid_kernel_image";
1051 return "cuda_device_uninitialized";
1053 return "cuda_map_buffer_object_failed";
1055 return "cuda_unmap_buffer_object_failed";
1057 return "cuda_array_is_mapped";
1059 return "cuda_already_mapped";
1061 return "cuda_no_kernel_image_for_device";
1063 return "cuda_already_acquired";
1065 return "cuda_not_mapped";
1067 return "cuda_not_mapped_as_array";
1069 return "cuda_not_mapped_as_pointer";
1071 return "cuda_e_c_c_uncorrectable";
1073 return "cuda_unsupported_limit";
1075 return "cuda_device_already_in_use";
1077 return "cuda_peer_access_unsupported";
1079 return "cuda_invalid_ptx";
1081 return "cuda_invalid_graphics_context";
1083 return "cuda_nvlink_uncorrectable";
1085 return "cuda_jit_compiler_not_found";
1087 return "cuda_unsupported_ptx_version";
1089 return "cuda_jit_compilation_disabled";
1091 return "cuda_unsupported_exec_affinity";
1093 return "cuda_invalid_source";
1095 return "cuda_file_not_found";
1097 return "cuda_shared_object_symbol_not_found";
1099 return "cuda_shared_object_init_failed";
1101 return "cuda_operating_system";
1103 return "cuda_invalid_resource_handle";
1105 return "cuda_illegal_state";
1107 return "cuda_symbol_not_found";
1109 return "cuda_not_ready";
1111 return "cuda_illegal_address";
1113 return "cuda_launch_out_of_resources";
1115 return "cuda_launch_timeout";
1117 return "cuda_launch_incompatible_texturing";
1119 return "cuda_peer_access_already_enabled";
1121 return "cuda_peer_access_not_enabled";
1123 return "cuda_set_on_active_process";
1125 return "cuda_context_is_destroyed";
1127 return "cuda_assert";
1129 return "cuda_too_many_peers";
1131 return "cuda_host_memory_already_registered";
1133 return "cuda_host_memory_not_registered";
1135 return "cuda_hardware_stack_error";
1137 return "cuda_illegal_instruction";
1139 return "cuda_misaligned_address";
1141 return "cuda_invalid_address_space";
1143 return "cuda_invalid_pc";
1145 return "cuda_launch_failure";
1147 return "cuda_cooperative_launch_too_large";
1149 return "cuda_not_permitted";
1151 return "cuda_not_supported";
1153 return "cuda_system_not_ready";
1155 return "cuda_system_driver_mismatch";
1157 return "cuda_compat_not_supported_on_device";
1159 return "cuda_mps_connection_failed";
1161 return "cuda_mps_rpc_failure";
1163 return "cuda_mps_server_not_ready";
1165 return "cuda_mps_max_clients_reached";
1167 return "cuda_mps_max_connections_reached";
1169 return "cuda_mps_client_terminated";
1171 return "cuda_cdp_not_supported";
1173 return "cuda_cdp_version_mismatch";
1175 return "cuda_stream_capture_unsupported";
1177 return "cuda_stream_capture_invalidated";
1179 return "cuda_stream_capture_merge";
1181 return "cuda_stream_capture_unmatched";
1183 return "cuda_stream_capture_unjoined";
1185 return "cuda_stream_capture_isolation";
1187 return "cuda_stream_capture_implicit";
1189 return "cuda_captured_event";
1191 return "cuda_stream_capture_wrong_thread";
1193 return "cuda_timeout";
1195 return "cuda_graph_exec_update_failure";
1197 return "cuda_external_device";
1199 return "cuda_invalid_cluster_size";
1201 return "cuda_unknown";
1203 return "cuda_api_failure_base";
1205 return "unknown error_t (bug)";
1220 return "No error has occurred";
1222 return "A general error has occurred";
1224 return "An argument was invalid";
1226 return "A config setting was invalid";
1228 return "A component or technique is not implemented";
1230 return "A parameter was not set";
1232 return "A environment variable was not set";
1234 return "An item was not found";
1236 return "A size was invalid or calculated incorrectly";
1238 return "An error occurred during memory allocation";
1240 return "An error occurred during memory de-allocation";
1242 return "A parsing error occurred";
1244 return "A general filesystem error occurred";
1246 return "An error occurred while opening a file";
1248 return "An error occurred while writing to a file";
1250 return "An error occurred while reading from a file";
1252 return "An error occurred while closing a file";
1254 return "The file was not found";
1256 return "The file is empty";
1258 return "The directory was not found";
1260 return "The directory was empty";
1262 return "An error occurred while starting a process";
1264 return "A timeout occurred";
1266 return "An error was returned by a library";
1268 return "An exception was thrown";
1270 return "An exception was thrown";
1272 return "A bad allocation exception was thrown";
1274 return "A logic error exception was thrown";
1276 return "An invalid argument exception was thrown";
1278 return "A domain error exception was thrown";
1280 return "A length error exception was thrown";
1282 return "An out of range exception was thrown";
1284 return "A future error exception was thrown";
1286 return "A bad optional access exception was thrown";
1288 return "A filesystem error exception was thrown";
1290 return "A runtime error exception was thrown";
1292 return "A range error exception was thrown";
1294 return "An overflow exception was thrown";
1296 return "An underflow exception was thrown";
1298 return "An ios::base::failure exception was thrown";
1300 return "A format library exception was thrown";
1302 return "An error was returned by gnuplot";
1304 return "An error was returned by Lapack";
1306 return "Argument list too long";
1308 return "Permission denied";
1310 return "Address already in use";
1312 return "Cannot assign requested address";
1314 return "Address family not supported by protocol";
1316 return "Resource temporarily unavailable";
1318 return "Operation already in progress";
1320 return "Bad file descriptor";
1322 return "Bad message";
1324 return "Device or resource busy";
1326 return "Operation canceled";
1328 return "No child processes";
1330 return "Software caused connection abort";
1332 return "Connection refused";
1334 return "Connection reset by peer";
1336 return "Destination address required";
1338 return "Numerical argument out of domain";
1340 return "File exists";
1342 return "Bad address";
1344 return "File too large";
1346 return "No route to host";
1348 return "Identifier removed";
1350 return "Invalid or incomplete multibyte or wide character";
1352 return "Operation now in progress";
1354 return "Interrupted system call";
1356 return "Invalid argument";
1358 return "Input/output error";
1360 return "Transport endpoint is already connected";
1362 return "Is a directory";
1364 return "Too many levels of symbolic links";
1366 return "Too many open files";
1368 return "Too many links";
1370 return "Message too long";
1372 return "File name too long";
1374 return "Network is down";
1376 return "Network dropped connection on reset";
1378 return "Network is unreachable";
1380 return "Too many open files in system";
1382 return "No buffer space available";
1384 return "No data available";
1386 return "No such device";
1388 return "No such file or directory";
1390 return "Exec format error";
1392 return "No locks available";
1394 return "Link has been severed";
1396 return "Cannot allocate memory";
1398 return "No message of desired type";
1400 return "Protocol not available";
1402 return "No space left on device";
1404 return "Out of streams resources";
1406 return "Device not a stream";
1408 return "Function not implemented";
1410 return "Transport endpoint is not connected";
1412 return "Not a directory";
1414 return "Directory not empty";
1416 return "State not recoverable";
1418 return "Socket operation on non-socket";
1420 return "Operation not supported";
1422 return "Inappropriate ioctl for device";
1424 return "No such device or address";
1426 return "Operation not supported";
1428 return "Value too large for defined data type";
1430 return "Owner died";
1432 return "Operation not permitted";
1434 return "Broken pipe";
1436 return "Protocol error";
1438 return "Protocol not supported";
1440 return "Protocol wrong type for socket";
1442 return "Numerical result out of range";
1444 return "Read-only file system";
1446 return "Illegal seek";
1448 return "No such process";
1450 return "Timer expired";
1452 return "Connection timed out";
1454 return "Text file busy";
1456 return "Resource temporarily unavailable";
1458 return "Invalid cross-device link";
1460 return "FITS: input and output files are the same";
1462 return "FITS: tried to open too many FITS files at once";
1464 return "FITS: could not open the named file";
1466 return "FITS: could not create the named file";
1468 return "FITS: error writing to FITS file";
1470 return "FITS: tried to move past end of file";
1472 return "FITS: error reading from FITS file";
1474 return "FITS: could not close the file";
1476 return "FITS: array dimensions exceed internal limit";
1478 return "FITS: Cannot write to readonly file";
1480 return "FITS: Could not allocate memory";
1482 return "FITS: invalid fitsfile pointer";
1484 return "FITS: NULL input pointer to routine";
1486 return "FITS: error seeking position in file";
1488 return "FITS: bad value for file download timeout setting";
1490 return "FITS: invalid URL prefix on file name";
1492 return "FITS: tried to register too many IO drivers";
1494 return "FITS: driver initialization failed";
1496 return "FITS: matching driver is not registered";
1498 return "FITS: failed to parse input file URL";
1500 return "FITS: parse error in range list";
1502 return "FITS: bad argument in shared memory driver";
1504 return "FITS: null pointer passed as an argument";
1506 return "FITS: no more free shared memory handles";
1508 return "FITS: shared memory driver is not initialized";
1510 return "FITS: IPC error returned by a system call";
1512 return "FITS: no memory in shared memory driver";
1514 return "FITS: resource deadlock would occur";
1516 return "FITS: attempt to open/create lock file failed";
1518 return "FITS: shared memory block cannot be resized at the moment";
1520 return "FITS: header already contains keywords";
1522 return "FITS: keyword not found in header";
1524 return "FITS: keyword record number is out of bounds";
1526 return "FITS: keyword value field is blank";
1528 return "FITS: string is missing the closing quote";
1530 return "FITS: illegal indexed keyword name (e.g. 'TFORM1000')";
1532 return "FITS: illegal character in keyword name or card";
1534 return "FITS: required keywords out of order";
1536 return "FITS: keyword value is not a positive integer";
1538 return "FITS: couldn't find END keyword";
1540 return "FITS: illegal BITPIX keyword value";
1542 return "FITS: illegal NAXIS keyword value";
1544 return "FITS: illegal NAXISn keyword value";
1546 return "FITS: illegal PCOUNT keyword value";
1548 return "FITS: illegal GCOUNT keyword value";
1550 return "FITS: illegal TFIELDS keyword value";
1552 return "FITS: negative table row size";
1554 return "FITS: negative number of rows in table";
1556 return "FITS: column with this name not found in table";
1558 return "FITS: illegal value of SIMPLE keyword";
1560 return "FITS: Primary array doesn't start with SIMPLE";
1562 return "FITS: Second keyword not BITPIX";
1564 return "FITS: Third keyword not NAXIS";
1566 return "FITS: Couldn't find all the NAXISn keywords";
1568 return "FITS: HDU doesn't start with XTENSION keyword";
1570 return "FITS: the CHDU is not an ASCII table extension";
1572 return "FITS: the CHDU is not a binary table extension";
1574 return "FITS: couldn't find PCOUNT keyword";
1576 return "FITS: couldn't find GCOUNT keyword";
1578 return "FITS: couldn't find TFIELDS keyword";
1580 return "FITS: couldn't find TBCOLn keyword";
1582 return "FITS: couldn't find TFORMn keyword";
1584 return "FITS: the CHDU is not an IMAGE extension";
1586 return "FITS: TBCOLn keyword value < 0 or > rowlength";
1588 return "FITS: the CHDU is not a table";
1590 return "FITS: column is too wide to fit in table";
1592 return "FITS: more than 1 column name matches template";
1594 return "FITS: sum of column widths not = NAXIS1";
1596 return "FITS: unrecognizable FITS extension type";
1598 return "FITS: unknown record; 1st keyword not SIMPLE or XTENSION";
1600 return "FITS: END keyword is not blank";
1602 return "FITS: Header fill area contains non-blank chars";
1604 return "FITS: Illegal data fill bytes (not zero or blank)";
1606 return "FITS: illegal TFORM format code";
1608 return "FITS: unrecognizable TFORM data type code";
1610 return "FITS: illegal TDIMn keyword value";
1612 return "FITS: invalid BINTABLE heap pointer is out of range";
1614 return "FITS: HDU number < 1";
1616 return "FITS: column number < 1 or > tfields";
1618 return "FITS: tried to move to negative byte location in file";
1620 return "FITS: tried to read or write negative number of bytes";
1622 return "FITS: illegal starting row number in table";
1624 return "FITS: illegal starting element number in vector";
1626 return "FITS: this is not an ASCII string column";
1628 return "FITS: this is not a logical data type column";
1630 return "FITS: ASCII table column has wrong format";
1632 return "FITS: Binary table column has wrong format";
1634 return "FITS: null value has not been defined";
1636 return "FITS: this is not a variable length column";
1638 return "FITS: illegal number of dimensions in array";
1640 return "FITS: first pixel number greater than last pixel";
1642 return "FITS: illegal BSCALE or TSCALn keyword = 0";
1644 return "FITS: illegal axis length < 1";
1646 return "FITS: Grouping function error";
1648 return "FITS: hdu already member";
1650 return "FITS: member not found";
1652 return "FITS: group not found";
1654 return "FITS: bad group id";
1656 return "FITS: too many hdus tracked";
1658 return "FITS: hdu already tracked";
1660 return "FITS: bad option";
1662 return "FITS: identical pointers";
1664 return "FITS: bad group attach";
1666 return "FITS: bad group detach";
1668 return "FITS: malloc failed";
1670 return "FITS: read error from file";
1672 return "FITS: null pointer passed as an argument.";
1674 return "FITS: line read seems to be empty (used";
1676 return "FITS: cannot unread more then 1 line";
1678 return "FITS: too deep include file nesting ";
1680 return "FITS: fopen() failed, cannot open template file";
1682 return "FITS: end of file encountered and not expected";
1684 return "FITS: bad arguments passed.";
1686 return "FITS: token not expected here";
1688 return "FITS: bad int to formatted string conversion";
1690 return "FITS: bad float to formatted string conversion";
1692 return "FITS: can't interpret keyword value as integer";
1694 return "FITS: can't interpret keyword value as logical";
1696 return "FITS: can't interpret keyword value as float";
1698 return "FITS: can't interpret keyword value as double";
1700 return "FITS: bad formatted string to int conversion";
1702 return "FITS: bad formatted string to float conversion";
1704 return "FITS: bad formatted string to double conversion";
1706 return "FITS: illegal datatype code value";
1708 return "FITS: bad number of decimal places specified";
1710 return "FITS: overflow during data type conversion";
1712 return "FITS: error compressing image";
1714 return "FITS: error uncompressing image";
1716 return "FITS: error in date or time conversion";
1718 return "FITS: syntax error in parser expression";
1720 return "FITS: expression did not evaluate to desired type";
1722 return "FITS: vector result too large to return in array";
1724 return "FITS: data parser failed not sent an out column";
1726 return "FITS: bad data encounter while parsing column";
1728 return "FITS: Output file not of proper type";
1730 return "FITS: celestial angle too large for projection";
1732 return "FITS: bad celestial coordinate or pixel value";
1734 return "FITS: error in celestial coordinate calculation";
1736 return "FITS: unsupported type of celestial projection";
1738 return "FITS: celestial coordinate keywords not found";
1740 return "FITS: approximate wcs keyword values were returned";
1742 return "CUDA: no error";
1744 return "CUDA: invalid argument";
1746 return "CUDA: out of memory";
1748 return "CUDA: initialization error";
1750 return "CUDA: driver shutting down";
1752 return "CUDA: profiler disabled while using external profiling tool";
1754 return "CUDA: profiler not initialized: call cudaProfilerInitialize()";
1756 return "CUDA: profiler already started";
1758 return "CUDA: profiler already stopped";
1760 return "CUDA: invalid configuration argument";
1762 return "CUDA: invalid pitch argument";
1764 return "CUDA: invalid device symbol";
1766 return "CUDA: invalid host pointer";
1768 return "CUDA: invalid device pointer";
1770 return "CUDA: invalid texture reference";
1772 return "CUDA: texture is not bound to a pointer";
1774 return "CUDA: invalid channel descriptor";
1776 return "CUDA: invalid copy direction for memcpy";
1778 return "CUDA: invalid address of constant";
1780 return "CUDA: fetch from texture failed";
1782 return "CUDA: cannot fetch from a texture that is not bound";
1784 return "CUDA: incorrect use of __syncthreads()";
1786 return "CUDA: linear filtering not supported for non-float type";
1788 return "CUDA: read as normalized float not supported for 32-bit non float type";
1790 return "CUDA: device emulation mode and device execution mode cannot be mixed";
1792 return "CUDA: feature not yet implemented";
1794 return "CUDA: memory size or pointer value too large to fit in 32 bit";
1796 return "CUDA: CUDA driver is a stub library";
1798 return "CUDA: CUDA driver version is insufficient for CUDA runtime version";
1800 return "CUDA: API call is not supported in the installed CUDA driver";
1802 return "CUDA: invalid surface reference";
1804 return "CUDA: duplicate global variable looked up by string name";
1806 return "CUDA: duplicate texture looked up by string name";
1808 return "CUDA: duplicate surface looked up by string name";
1810 return "CUDA: CUDA-capable device(s) is/are busy or unavailable";
1812 return "CUDA: incompatible driver context";
1814 return "CUDA: __global__ function call is not configured";
1816 return "CUDA: unspecified launch failure in prior launch";
1818 return "CUDA: launch would exceed maximum depth of nested launches";
1820 return "CUDA: launch failed because kernel uses unsupported, file-scoped textures (texture objects are supported)";
1822 return "CUDA: launch failed because kernel uses unsupported, file-scoped surfaces (surface objects are supported)";
1824 return "CUDA: cudaDeviceSynchronize failed because caller's grid depth exceeds cudaLimitDevRuntimeSyncDepth";
1826 return "CUDA: launch failed because launch would exceed cudaLimitDevRuntimePendingLaunchCount";
1828 return "CUDA: invalid device function";
1830 return "CUDA: no CUDA-capable device is detected";
1832 return "CUDA: invalid device ordinal";
1834 return "CUDA: device doesn't have valid Grid license";
1836 return "CUDA: integrity checks failed";
1838 return "CUDA: startup failure in cuda runtime";
1840 return "CUDA: device kernel image is invalid";
1842 return "CUDA: invalid device context";
1844 return "CUDA: mapping of buffer object failed";
1846 return "CUDA: unmapping of buffer object failed";
1848 return "CUDA: array is mapped";
1850 return "CUDA: resource already mapped";
1852 return "CUDA: no kernel image is available for execution on the device";
1854 return "CUDA: resource already acquired";
1856 return "CUDA: resource not mapped";
1858 return "CUDA: resource not mapped as array";
1860 return "CUDA: resource not mapped as pointer";
1862 return "CUDA: uncorrectable ECC error encountered";
1864 return "CUDA: limit is not supported on this architecture";
1866 return "CUDA: exclusive-thread device already in use by a different thread";
1868 return "CUDA: peer access is not supported between these two devices";
1870 return "CUDA: a PTX JIT compilation failed";
1872 return "CUDA: invalid OpenGL or DirectX context";
1874 return "CUDA: uncorrectable NVLink error detected during the execution";
1876 return "CUDA: PTX JIT compiler library not found";
1878 return "CUDA: the provided PTX was compiled with an unsupported toolchain.";
1880 return "CUDA: PTX JIT compilation was disabled";
1882 return "CUDA: the provided execution affinity is not supported";
1884 return "CUDA: device kernel image is invalid";
1886 return "CUDA: file not found";
1888 return "CUDA: shared object symbol not found";
1890 return "CUDA: shared object initialization failed";
1892 return "CUDA: OS call failed or operation not supported on this OS";
1894 return "CUDA: invalid resource handle";
1896 return "CUDA: the operation cannot be performed in the present state";
1898 return "CUDA: named symbol not found";
1900 return "CUDA: device not ready";
1902 return "CUDA: an illegal memory access was encountered";
1904 return "CUDA: too many resources requested for launch";
1906 return "CUDA: the launch timed out and was terminated";
1908 return "CUDA: launch uses incompatible texturing mode";
1910 return "CUDA: peer access is already enabled";
1912 return "CUDA: peer access has not been enabled";
1914 return "CUDA: cannot set while device is active in this process";
1916 return "CUDA: context is destroyed";
1918 return "CUDA: device-side assert triggered";
1920 return "CUDA: peer mapping resources exhausted";
1922 return "CUDA: part or all of the requested memory range is already mapped";
1924 return "CUDA: pointer does not correspond to a registered memory region";
1926 return "CUDA: hardware stack error";
1928 return "CUDA: an illegal instruction was encountered";
1930 return "CUDA: misaligned address";
1932 return "CUDA: operation not supported on global/shared address space";
1934 return "CUDA: invalid program counter";
1936 return "CUDA: unspecified launch failure";
1938 return "CUDA: too many blocks in cooperative launch";
1940 return "CUDA: operation not permitted";
1942 return "CUDA: operation not supported";
1944 return "CUDA: system not yet initialized";
1946 return "CUDA: system has unsupported display driver / cuda driver combination";
1948 return "CUDA: forward compatibility was attempted on non supported HW";
1950 return "CUDA: MPS client failed to connect to the MPS control daemon or the MPS server";
1952 return "CUDA: the remote procedural call between the MPS server and the MPS client failed";
1954 return "CUDA: MPS server is not ready to accept new MPS client requests";
1956 return "CUDA: the hardware resources required to create MPS client have been exhausted";
1958 return "CUDA: the hardware resources required to support device connections have been exhausted";
1960 return "CUDA: the MPS client has been terminated by the server";
1962 return "CUDA: is using CUDA Dynamic Parallelism, but the current configuration, like MPS, does not support it";
1964 return "CUDA: unsupported interaction between different versions of CUDA Dynamic Parallelism";
1966 return "CUDA: operation not permitted when stream is capturing";
1968 return "CUDA: operation failed due to a previous error during capture";
1970 return "CUDA: operation would result in a merge of separate capture sequences";
1972 return "CUDA: capture was not ended in the same stream as it began";
1974 return "CUDA: capturing stream has unjoined work";
1976 return "CUDA: dependency created on uncaptured work in another stream";
1978 return "CUDA: operation would make the legacy stream depend on a capturing blocking stream";
1980 return "CUDA: operation not permitted on an event last recorded in a capturing stream";
1982 return "CUDA: attempt to terminate a thread-local capture sequence from another thread";
1984 return "CUDA: wait operation timed out";
1986 return "CUDA: the graph update was not performed because it included changes which violated constraints specific to instantiated graph update";
1988 return "CUDA: an async error has occured in external entity outside of CUDA";
1990 return "CUDA: a kernel launch error has occurred due to cluster misconfiguration";
1992 return "CUDA: unknown error";
1994 return "CUDA: api failure base";
1996 return "unknown error_t (bug)";
2118 case ENOTRECOVERABLE:
2138 case EPROTONOSUPPORT:
2177 case TOO_MANY_FILES:
2179 case FILE_NOT_OPENED:
2181 case FILE_NOT_CREATED:
2189 case FILE_NOT_CLOSED:
2195 case MEMORY_ALLOCATION:
2199 case NULL_INPUT_PTR:
2203 case BAD_NETTIMEOUT:
2205 case BAD_URL_PREFIX:
2207 case TOO_MANY_DRIVERS:
2209 case DRIVER_INIT_FAILED:
2211 case NO_MATCHING_DRIVER:
2213 case URL_PARSE_ERROR:
2215 case RANGE_PARSE_ERROR:
2221 case SHARED_TABFULL:
2223 case SHARED_NOTINIT:
2233 case SHARED_NORESIZE:
2235 case HEADER_NOT_EMPTY:
2239 case KEY_OUT_BOUNDS:
2241 case VALUE_UNDEFINED:
2307 case COL_NOT_UNIQUE:
2317 case BAD_HEADER_FILL:
2323 case BAD_TFORM_DTYPE:
2343 case NOT_LOGICAL_COL:
2345 case BAD_ATABLE_FORMAT:
2347 case BAD_BTABLE_FORMAT:
2361 case NOT_GROUP_TABLE:
2363 case HDU_ALREADY_MEMBER:
2365 case MEMBER_NOT_FOUND:
2367 case GROUP_NOT_FOUND:
2371 case TOO_MANY_HDUS_TRACKED:
2373 case HDU_ALREADY_TRACKED:
2377 case IDENTICAL_POINTERS:
2379 case BAD_GROUP_ATTACH:
2381 case BAD_GROUP_DETACH:
2389 case NGP_EMPTY_CURLINE:
2391 case NGP_UNREAD_QUEUE_FULL:
2393 case NGP_INC_NESTING:
2401 case NGP_TOKEN_NOT_EXPECT:
2409 case BAD_LOGICALKEY:
2427 case DATA_COMPRESSION_ERR:
2429 case DATA_DECOMPRESSION_ERR:
2433 case PARSE_SYNTAX_ERR:
2435 case PARSE_BAD_TYPE:
2437 case PARSE_LRG_VECTOR:
2439 case PARSE_NO_OUTPUT:
2443 case PARSE_BAD_OUTPUT:
2455 case APPROX_WCS_KEY:
2469static constexpr error_t cudaError2error_t(
const cudaError_t & err)
2475 case cudaErrorInvalidValue:
2477 case cudaErrorMemoryAllocation:
2479 case cudaErrorInitializationError:
2481 case cudaErrorCudartUnloading:
2483 case cudaErrorProfilerDisabled:
2485 case cudaErrorProfilerNotInitialized:
2487 case cudaErrorProfilerAlreadyStarted:
2489 case cudaErrorProfilerAlreadyStopped:
2491 case cudaErrorInvalidConfiguration:
2493 case cudaErrorInvalidPitchValue:
2495 case cudaErrorInvalidSymbol:
2497 case cudaErrorInvalidHostPointer:
2499 case cudaErrorInvalidDevicePointer:
2501 case cudaErrorInvalidTexture:
2503 case cudaErrorInvalidTextureBinding:
2505 case cudaErrorInvalidChannelDescriptor:
2507 case cudaErrorInvalidMemcpyDirection:
2509 case cudaErrorAddressOfConstant:
2511 case cudaErrorTextureFetchFailed:
2513 case cudaErrorTextureNotBound:
2515 case cudaErrorSynchronizationError:
2517 case cudaErrorInvalidFilterSetting:
2519 case cudaErrorInvalidNormSetting:
2521 case cudaErrorMixedDeviceExecution:
2523 case cudaErrorNotYetImplemented:
2525 case cudaErrorMemoryValueTooLarge:
2527 case cudaErrorStubLibrary:
2529 case cudaErrorInsufficientDriver:
2531 case cudaErrorCallRequiresNewerDriver:
2533 case cudaErrorInvalidSurface:
2535 case cudaErrorDuplicateVariableName:
2537 case cudaErrorDuplicateTextureName:
2539 case cudaErrorDuplicateSurfaceName:
2541 case cudaErrorDevicesUnavailable:
2543 case cudaErrorIncompatibleDriverContext:
2545 case cudaErrorMissingConfiguration:
2547 case cudaErrorPriorLaunchFailure:
2549 case cudaErrorLaunchMaxDepthExceeded:
2551 case cudaErrorLaunchFileScopedTex:
2553 case cudaErrorLaunchFileScopedSurf:
2555 case cudaErrorSyncDepthExceeded:
2557 case cudaErrorLaunchPendingCountExceeded:
2559 case cudaErrorInvalidDeviceFunction:
2561 case cudaErrorNoDevice:
2563 case cudaErrorInvalidDevice:
2565 case cudaErrorDeviceNotLicensed:
2567 case cudaErrorSoftwareValidityNotEstablished:
2569 case cudaErrorStartupFailure:
2571 case cudaErrorInvalidKernelImage:
2573 case cudaErrorDeviceUninitialized:
2575 case cudaErrorMapBufferObjectFailed:
2577 case cudaErrorUnmapBufferObjectFailed:
2579 case cudaErrorArrayIsMapped:
2581 case cudaErrorAlreadyMapped:
2583 case cudaErrorNoKernelImageForDevice:
2585 case cudaErrorAlreadyAcquired:
2587 case cudaErrorNotMapped:
2589 case cudaErrorNotMappedAsArray:
2591 case cudaErrorNotMappedAsPointer:
2593 case cudaErrorECCUncorrectable:
2595 case cudaErrorUnsupportedLimit:
2597 case cudaErrorDeviceAlreadyInUse:
2599 case cudaErrorPeerAccessUnsupported:
2601 case cudaErrorInvalidPtx:
2603 case cudaErrorInvalidGraphicsContext:
2605 case cudaErrorNvlinkUncorrectable:
2607 case cudaErrorJitCompilerNotFound:
2609 case cudaErrorUnsupportedPtxVersion:
2611 case cudaErrorJitCompilationDisabled:
2613 case cudaErrorUnsupportedExecAffinity:
2615 case cudaErrorInvalidSource:
2617 case cudaErrorFileNotFound:
2619 case cudaErrorSharedObjectSymbolNotFound:
2621 case cudaErrorSharedObjectInitFailed:
2623 case cudaErrorOperatingSystem:
2625 case cudaErrorInvalidResourceHandle:
2627 case cudaErrorIllegalState:
2629 case cudaErrorSymbolNotFound:
2631 case cudaErrorNotReady:
2633 case cudaErrorIllegalAddress:
2635 case cudaErrorLaunchOutOfResources:
2637 case cudaErrorLaunchTimeout:
2639 case cudaErrorLaunchIncompatibleTexturing:
2641 case cudaErrorPeerAccessAlreadyEnabled:
2643 case cudaErrorPeerAccessNotEnabled:
2645 case cudaErrorSetOnActiveProcess:
2647 case cudaErrorContextIsDestroyed:
2649 case cudaErrorAssert:
2651 case cudaErrorTooManyPeers:
2653 case cudaErrorHostMemoryAlreadyRegistered:
2655 case cudaErrorHostMemoryNotRegistered:
2657 case cudaErrorHardwareStackError:
2659 case cudaErrorIllegalInstruction:
2661 case cudaErrorMisalignedAddress:
2663 case cudaErrorInvalidAddressSpace:
2665 case cudaErrorInvalidPc:
2667 case cudaErrorLaunchFailure:
2669 case cudaErrorCooperativeLaunchTooLarge:
2671 case cudaErrorNotPermitted:
2673 case cudaErrorNotSupported:
2675 case cudaErrorSystemNotReady:
2677 case cudaErrorSystemDriverMismatch:
2679 case cudaErrorCompatNotSupportedOnDevice:
2681 case cudaErrorMpsConnectionFailed:
2683 case cudaErrorMpsRpcFailure:
2685 case cudaErrorMpsServerNotReady:
2687 case cudaErrorMpsMaxClientsReached:
2689 case cudaErrorMpsMaxConnectionsReached:
2691 case cudaErrorMpsClientTerminated:
2693 case cudaErrorCdpNotSupported:
2695 case cudaErrorCdpVersionMismatch:
2697 case cudaErrorStreamCaptureUnsupported:
2699 case cudaErrorStreamCaptureInvalidated:
2701 case cudaErrorStreamCaptureMerge:
2703 case cudaErrorStreamCaptureUnmatched:
2705 case cudaErrorStreamCaptureUnjoined:
2707 case cudaErrorStreamCaptureIsolation:
2709 case cudaErrorStreamCaptureImplicit:
2711 case cudaErrorCapturedEvent:
2713 case cudaErrorStreamCaptureWrongThread:
2715 case cudaErrorTimeout:
2717 case cudaErrorGraphExecUpdateFailure:
2719 case cudaErrorExternalDevice:
2721 case cudaErrorInvalidClusterSize:
2723 case cudaErrorUnknown:
2725 case cudaErrorApiFailureBase:
2737#ifdef MXLIBTEST_ERROR_T_TESTS
2738#ifndef MXLIBTEST_ERROR_T_TESTS_INC
2739#define MXLIBTEST_ERROR_T_TESTS_INC
2744void error_t_vector( std::vector<error_t> & errcs )
3137void errno_vector( std::vector<int> & errnos )
3215void fitserr_vector( std::vector<int> & fitserrs )
3217 fitserrs= { SAME_FILE,
3315 TOO_MANY_HDUS_TRACKED,
3316 HDU_ALREADY_TRACKED,
3325 NGP_UNREAD_QUEUE_FULL,
3330 NGP_TOKEN_NOT_EXPECT,
3343 DATA_COMPRESSION_ERR,
3344 DATA_DECOMPRESSION_ERR,
Augments an exception with the source file and line.
error_t
The mxlib error codes.
static constexpr const char * errorName(const error_t &errc)
Convert a error_t code to its name.
static constexpr error_t errno2error_t(const int &err)
Convert an errno code to error_t.
static constexpr const char * errorMessage(const error_t &errc)
Get the descriptive message for a error_t code.
@ cuda_cdp_version_mismatch
CUDA: unsupported interaction between different versions of CUDA Dynamic Parallelism.
@ fits_parse_syntax_err
FITS: syntax error in parser expression.
@ cuda_profiler_already_stopped
CUDA: profiler already stopped.
@ cuda_peer_access_unsupported
CUDA: peer access is not supported between these two devices.
@ eopnotsupp
Operation not supported (EOPNOTSUPP)
@ e2big
Argument list too long (E2BIG)
@ fits_bad_simple
FITS: illegal value of SIMPLE keyword.
@ filenotfound
The file was not found.
@ eilseq
Invalid or incomplete multibyte or wide character (EILSEQ)
@ notimpl
A component or technique is not implemented.
@ enotsup
Operation not supported (ENOTSUP)
@ fits_end_of_file
FITS: tried to move past end of file.
@ eprotonosupport
Protocol not supported (EPROTONOSUPPORT)
@ fits_value_undefined
FITS: keyword value field is blank.
@ cuda_illegal_state
CUDA: the operation cannot be performed in the present state.
@ cuda_cudart_unloading
CUDA: driver shutting down.
@ noerror
No error has occurred.
@ fits_ngp_unread_queue_full
FITS: cannot unread more then 1 line.
@ cuda_duplicate_variable_name
CUDA: duplicate global variable looked up by string name.
@ fits_no_naxes
FITS: Couldn't find all the NAXISn keywords.
@ cuda_not_ready
CUDA: device not ready.
@ enosr
Out of streams resources (ENOSR)
@ fits_bad_atable_format
FITS: ASCII table column has wrong format.
@ fits_key_no_exist
FITS: keyword not found in header.
@ fits_end_junk
FITS: END keyword is not blank.
@ cuda_illegal_instruction
CUDA: an illegal instruction was encountered.
@ etxtbsy
Text file busy (ETXTBSY)
@ fits_array_too_big
FITS: array dimensions exceed internal limit.
@ eperm
Operation not permitted (EPERM)
@ cuda_mps_connection_failed
CUDA: MPS client failed to connect to the MPS control daemon or the MPS server.
@ enotconn
Transport endpoint is not connected (ENOTCONN)
@ std_exception
An exception was thrown.
@ cuda_illegal_address
CUDA: an illegal memory access was encountered.
@ enetunreach
Network is unreachable (ENETUNREACH)
@ fits_bad_gcount
FITS: illegal GCOUNT keyword value.
@ fits_data_decompression_err
FITS: error uncompressing image.
@ fits_col_not_unique
FITS: more than 1 column name matches template.
@ cuda_system_driver_mismatch
CUDA: system has unsupported display driver / cuda driver combination.
@ cuda_mixed_device_execution
CUDA: device emulation mode and device execution mode cannot be mixed.
@ cuda_stream_capture_implicit
CUDA: operation would make the legacy stream depend on a capturing blocking stream.
@ fits_bad_group_detach
FITS: bad group detach.
@ cuda_cdp_not_supported
CUDA: is using CUDA Dynamic Parallelism, but the current configuration, like MPS, does not support it...
@ enosys
Function not implemented (ENOSYS)
@ fits_identical_pointers
FITS: identical pointers.
@ fits_approx_wcs_key
FITS: approximate wcs keyword values were returned.
@ cuda_unsupported_ptx_version
CUDA: the provided PTX was compiled with an unsupported toolchain.
@ enametoolong
File name too long (ENAMETOOLONG)
@ fits_bad_bitpix
FITS: illegal BITPIX keyword value.
@ cuda_stub_library
CUDA: CUDA driver is a stub library.
@ filererr
An error occurred while reading from a file.
@ fits_bad_pcount
FITS: illegal PCOUNT keyword value.
@ edom
Numerical argument out of domain (EDOM)
@ emfile
Too many open files (EMFILE)
@ cuda_initialization_error
CUDA: initialization error.
@ fits_bad_tform_dtype
FITS: unrecognizable TFORM data type code.
@ cuda_graph_exec_update_failure
CUDA: the graph update was not performed because it included changes which violated constraints speci...
@ cuda_invalid_surface
CUDA: invalid surface reference.
@ cuda_file_not_found
CUDA: file not found.
@ fits_shared_tabfull
FITS: no more free shared memory handles.
@ cuda_invalid_device
CUDA: invalid device ordinal.
@ fits_no_tfields
FITS: couldn't find TFIELDS keyword.
@ fits_not_vari_len
FITS: this is not a variable length column.
@ fits_no_gcount
FITS: couldn't find GCOUNT keyword.
@ cuda_symbol_not_found
CUDA: named symbol not found.
@ eexist
File exists (EEXIST)
@ dirnotfound
The directory was not found.
@ fits_bad_naxis
FITS: illegal NAXIS keyword value.
@ fits_header_not_empty
FITS: header already contains keywords.
@ cuda_timeout
CUDA: wait operation timed out.
@ fits_too_many_drivers
FITS: tried to register too many IO drivers.
@ exdev
Invalid cross-device link (EXDEV)
@ cuda_mps_max_clients_reached
CUDA: the hardware resources required to create MPS client have been exhausted.
@ fits_bad_wcs_val
FITS: bad celestial coordinate or pixel value.
@ cuda_external_device
CUDA: an async error has occured in external entity outside of CUDA.
@ cuda_software_validity_not_established
CUDA: integrity checks failed.
@ std_ios_base_failure
An ios::base::failure exception was thrown.
@ enodata
No data available (ENODATA)
@ emsgsize
Message too long (EMSGSIZE)
@ cuda_context_is_destroyed
CUDA: context is destroyed.
@ cuda_no_device
CUDA: no CUDA-capable device is detected.
@ cuda_stream_capture_wrong_thread
CUDA: attempt to terminate a thread-local capture sequence from another thread.
@ fits_parse_bad_col
FITS: bad data encounter while parsing column.
@ fits_ngp_empty_curline
FITS: line read seems to be empty (used.
@ fits_no_xtension
FITS: HDU doesn't start with XTENSION keyword.
@ fits_not_pos_int
FITS: keyword value is not a positive integer.
@ fits_neg_file_pos
FITS: tried to move to negative byte location in file.
@ eisdir
Is a directory (EISDIR)
@ cuda_invalid_texture
CUDA: invalid texture reference.
@ procerr
An error occurred while starting a process.
@ fits_parse_no_output
FITS: data parser failed not sent an out column.
@ fits_bad_col_num
FITS: column number < 1 or > tfields.
@ cuda_missing_configuration
CUDA: global function call is not configured.
@ fits_bad_row_num
FITS: illegal starting row number in table.
@ fileempty
The file is empty.
@ fits_shared_noresize
FITS: shared memory block cannot be resized at the moment.
@ eoverflow
Value too large for defined data type (EOVERFLOW)
@ cuda_invalid_kernel_image
CUDA: device kernel image is invalid.
@ enotsock
Socket operation on non-socket (ENOTSOCK)
@ eafnosupport
Address family not supported by protocol (EAFNOSUPPORT)
@ cuda_e_c_c_uncorrectable
CUDA: uncorrectable ECC error encountered.
@ fits_shared_notinit
FITS: shared memory driver is not initialized.
@ fits_unknown_ext
FITS: unrecognizable FITS extension type.
@ std_logic_error
A logic error exception was thrown.
@ cuda_invalid_channel_descriptor
CUDA: invalid channel descriptor.
@ fits_file_not_created
FITS: could not create the named file.
@ cuda_already_mapped
CUDA: resource already mapped.
@ sizeerr
A size was invalid or calculated incorrectly.
@ dirempty
The directory was empty.
@ fits_col_too_wide
FITS: column is too wide to fit in table.
@ enotempty
Directory not empty (ENOTEMPTY)
@ fits_bad_elem_num
FITS: illegal starting element number in vector.
@ std_domain_error
A domain error exception was thrown.
@ exception
An exception was thrown.
@ cuda_incompatible_driver_context
CUDA: incompatible driver context.
@ fits_bad_group_id
FITS: bad group id.
@ cuda_invalid_memcpy_direction
CUDA: invalid copy direction for memcpy.
@ eownerdead
Owner died (EOWNERDEAD)
@ eintr
Interrupted system call (EINTR)
@ fits_zero_scale
FITS: illegal BSCALE or TSCALn keyword = 0.
@ cuda_stream_capture_unmatched
CUDA: capture was not ended in the same stream as it began.
@ fits_not_image
FITS: the CHDU is not an IMAGE extension.
@ cuda_launch_timeout
CUDA: the launch timed out and was terminated.
@ enodev
No such device (ENODEV)
@ fits_bad_btable_format
FITS: Binary table column has wrong format.
@ fits_not_table
FITS: the CHDU is not a table.
@ fits_null_input_ptr
FITS: NULL input pointer to routine.
@ cuda_invalid_cluster_size
CUDA: a kernel launch error has occurred due to cluster misconfiguration.
@ esrch
No such process (ESRCH)
@ cuda_host_memory_already_registered
CUDA: part or all of the requested memory range is already mapped.
@ std_runtime_error
A runtime error exception was thrown.
@ einval
Invalid argument (EINVAL)
@ econnrefused
Connection refused (ECONNREFUSED)
@ lapackerr
An error was returned by Lapack.
@ std_bad_alloc
A bad allocation exception was thrown.
@ eacces
Permission denied (EACCES)
@ fits_angle_too_big
FITS: celestial angle too large for projection.
@ etime
Timer expired (ETIME)
@ erange
Numerical result out of range (ERANGE)
@ fits_bad_keychar
FITS: illegal character in keyword name or card.
@ erofs
Read-only file system (EROFS)
@ fits_neg_axis
FITS: illegal axis length < 1.
@ fits_range_parse_error
FITS: parse error in range list.
@ cuda_stream_capture_invalidated
CUDA: operation failed due to a previous error during capture.
@ fits_no_quote
FITS: string is missing the closing quote.
@ fits_key_out_bounds
FITS: keyword record number is out of bounds.
@ cuda_synchronization_error
CUDA: incorrect use of __syncthreads()
@ cuda_no_kernel_image_for_device
CUDA: no kernel image is available for execution on the device.
@ fits_no_wcs_key
FITS: celestial coordinate keywords not found.
@ fits_ngp_token_not_expect
FITS: token not expected here.
@ fits_driver_init_failed
FITS: driver initialization failed.
@ std_bad_optional_access
A bad optional access exception was thrown.
@ fits_bad_decim
FITS: bad number of decimal places specified.
@ cuda_stream_capture_unsupported
CUDA: operation not permitted when stream is capturing.
@ cuda_peer_access_already_enabled
CUDA: peer access is already enabled.
@ cuda_launch_incompatible_texturing
CUDA: launch uses incompatible texturing mode.
@ fits_read_error
FITS: error reading from FITS file.
@ cuda_invalid_device_pointer
CUDA: invalid device pointer.
@ cuda_invalid_value
CUDA: invalid argument.
@ parseerr
A parsing error occurred.
@ std_range_error
A range error exception was thrown.
@ eaddrnotavail
Cannot assign requested address (EADDRNOTAVAIL)
@ cuda_launch_file_scoped_tex
CUDA: launch failed because kernel uses unsupported, file-scoped textures (texture objects are suppor...
@ cuda_launch_file_scoped_surf
CUDA: launch failed because kernel uses unsupported, file-scoped surfaces (surface objects are suppor...
@ fits_neg_bytes
FITS: tried to read or write negative number of bytes.
@ cuda_not_mapped_as_pointer
CUDA: resource not mapped as pointer.
@ cuda_sync_depth_exceeded
CUDA: cudaDeviceSynchronize failed because caller's grid depth exceeds cudaLimitDevRuntimeSyncDepth.
@ ecanceled
Operation canceled (ECANCELED)
@ fits_bad_dimen
FITS: illegal number of dimensions in array.
@ cuda_too_many_peers
CUDA: peer mapping resources exhausted.
@ ehostunreach
No route to host (EHOSTUNREACH)
@ fits_bad_tfields
FITS: illegal TFIELDS keyword value.
@ eprototype
Protocol wrong type for socket (EPROTOTYPE)
@ fits_data_compression_err
FITS: error compressing image.
@ cuda_startup_failure
CUDA: startup failure in cuda runtime.
@ cuda_nvlink_uncorrectable
CUDA: uncorrectable NVLink error detected during the execution.
@ enoent
No such file or directory (ENOENT)
@ fits_ngp_bad_arg
FITS: bad arguments passed.
@ ealready
Operation already in progress (EALREADY)
@ enotdir
Not a directory (ENOTDIR)
@ cuda_call_requires_newer_driver
CUDA: API call is not supported in the installed CUDA driver.
@ cuda_launch_failure
CUDA: unspecified launch failure.
@ enoprotoopt
Protocol not available (ENOPROTOOPT)
@ cuda_invalid_device_function
CUDA: invalid device function.
@ enolink
Link has been severed (ENOLINK)
@ fits_bad_tdim
FITS: illegal TDIMn keyword value.
@ cuda_api_failure_base
CUDA: api failure base.
@ filecerr
An error occurred while closing a file.
@ eio
Input/output error (EIO)
@ cuda_stream_capture_isolation
CUDA: dependency created on uncaptured work in another stream.
@ cuda_stream_capture_merge
CUDA: operation would result in a merge of separate capture sequences.
@ cuda_memory_allocation
CUDA: out of memory.
@ cuda_invalid_pc
CUDA: invalid program counter.
@ fits_shared_ipcerr
FITS: IPC error returned by a system call.
@ econnreset
Connection reset by peer (ECONNRESET)
@ ebadmsg
Bad message (EBADMSG)
@ fits_parse_bad_type
FITS: expression did not evaluate to desired type.
@ cuda_set_on_active_process
CUDA: cannot set while device is active in this process.
@ ewouldblock
Resource temporarily unavailable (EWOULDBLOCK)
@ cuda_invalid_pitch_value
CUDA: invalid pitch argument.
@ fits_bad_hdu_num
FITS: HDU number < 1.
@ fits_no_matching_driver
FITS: matching driver is not registered.
@ allocerr
An error occurred during memory allocation.
@ fits_too_many_hdus_tracked
FITS: too many hdus tracked.
@ cuda_device_uninitialized
CUDA: invalid device context.
@ emlink
Too many links (EMLINK)
@ enobufs
No buffer space available (ENOBUFS)
@ fits_bad_c2i
FITS: bad formatted string to int conversion.
@ fits_shared_nulptr
FITS: null pointer passed as an argument.
@ fits_bad_c2d
FITS: bad formatted string to double conversion.
@ cuda_invalid_configuration
CUDA: invalid configuration argument.
@ cuda_assert
CUDA: device-side assert triggered.
@ fits_bad_data_fill
FITS: Illegal data fill bytes (not zero or blank)
@ fits_bad_naxes
FITS: illegal NAXISn keyword value.
@ cuda_already_acquired
CUDA: resource already acquired.
@ cuda_compat_not_supported_on_device
CUDA: forward compatibility was attempted on non supported HW.
@ fits_bad_option
FITS: bad option.
@ fits_ngp_no_memory
FITS: malloc failed.
@ fits_too_many_files
FITS: tried to open too many FITS files at once.
@ fits_bad_tform
FITS: illegal TFORM format code.
@ enxio
No such device or address (ENXIO)
@ cuda_unmap_buffer_object_failed
CUDA: unmapping of buffer object failed.
@ enostr
Device not a stream (ENOSTR)
@ cuda_invalid_host_pointer
CUDA: invalid host pointer.
@ fits_member_not_found
FITS: member not found.
@ fits_no_naxis
FITS: Third keyword not NAXIS.
@ fits_unknown_rec
FITS: unknown record; 1st keyword not SIMPLE or XTENSION.
@ enotty
Inappropriate ioctl for device (ENOTTY)
@ cuda_system_not_ready
CUDA: system not yet initialized.
@ cuda_unsupported_exec_affinity
CUDA: the provided execution affinity is not supported.
@ fits_ngp_inc_nesting
FITS: too deep include file nesting.
@ cuda_shared_object_symbol_not_found
CUDA: shared object symbol not found.
@ fileoerr
An error occurred while opening a file.
@ fits_neg_width
FITS: negative table row size.
@ paramnotset
A parameter was not set.
@ cuda_not_supported
CUDA: operation not supported.
@ fits_file_not_closed
FITS: could not close the file.
@ cuda_map_buffer_object_failed
CUDA: mapping of buffer object failed.
@ eaddrinuse
Address already in use (EADDRINUSE)
@ timeout
A timeout occurred.
@ cuda_unsupported_limit
CUDA: limit is not supported on this architecture.
@ enotrecoverable
State not recoverable (ENOTRECOVERABLE)
@ cuda_device_not_licensed
CUDA: device doesn't have valid Grid license.
@ fits_bad_heap_ptr
FITS: invalid BINTABLE heap pointer is out of range.
@ fits_no_null
FITS: null value has not been defined.
@ enoexec
Exec format error (ENOEXEC)
@ fits_not_atable
FITS: the CHDU is not an ASCII table extension.
@ cuda_duplicate_surface_name
CUDA: duplicate surface looked up by string name.
@ fits_num_overflow
FITS: overflow during data type conversion.
@ fits_no_tbcol
FITS: couldn't find TBCOLn keyword.
@ fits_ngp_nul_ptr
FITS: null pointer passed as an argument.
@ espipe
Illegal seek (ESPIPE)
@ cuda_memory_value_too_large
CUDA: memory size or pointer value too large to fit in 32 bit.
@ fits_hdu_already_member
FITS: hdu already member.
@ fits_shared_badarg
FITS: bad argument in shared memory driver.
@ cuda_host_memory_not_registered
CUDA: pointer does not correspond to a registered memory region.
@ cuda_not_mapped_as_array
CUDA: resource not mapped as array.
@ fits_same_file
FITS: input and output files are the same.
@ edestaddrreq
Destination address required (EDESTADDRREQ)
@ fits_ngp_read_err
FITS: read error from file.
@ fits_readonly_file
FITS: Cannot write to readonly file.
@ cuda_mps_rpc_failure
CUDA: the remote procedural call between the MPS server and the MPS client failed.
@ efault
Bad address (EFAULT)
@ cuda_not_mapped
CUDA: resource not mapped.
@ fits_bad_order
FITS: required keywords out of order.
@ cuda_duplicate_texture_name
CUDA: duplicate texture looked up by string name.
@ fits_bad_header_fill
FITS: Header fill area contains non-blank chars.
@ invalidconfig
A config setting was invalid.
@ cuda_profiler_disabled
CUDA: profiler disabled while using external profiling tool.
@ fits_col_not_found
FITS: column with this name not found in table.
@ filewerr
An error occurred while writing to a file.
@ cuda_operating_system
CUDA: OS call failed or operation not supported on this OS.
@ fits_not_ascii_col
FITS: this is not an ASCII string column.
@ cuda_invalid_source
CUDA: device kernel image is invalid.
@ fits_no_bitpix
FITS: Second keyword not BITPIX.
@ fits_no_tform
FITS: couldn't find TFORMn keyword.
@ std_out_of_range
An out of range exception was thrown.
@ cuda_jit_compilation_disabled
CUDA: PTX JIT compilation was disabled.
@ fits_memory_allocation
FITS: Could not allocate memory.
@ cuda_mps_server_not_ready
CUDA: MPS server is not ready to accept new MPS client requests.
@ eloop
Too many levels of symbolic links (ELOOP)
@ cuda_invalid_filter_setting
CUDA: linear filtering not supported for non-float type.
@ filesystem
A general filesystem error occurred.
@ eagain
Resource temporarily unavailable (EAGAIN)
@ fits_bad_pix_num
FITS: first pixel number greater than last pixel.
@ fits_shared_again
FITS: resource deadlock would occur.
@ echild
No child processes (ECHILD)
@ cuda_mps_client_terminated
CUDA: the MPS client has been terminated by the server.
@ invalidarg
An argument was invalid.
@ enetreset
Network dropped connection on reset (ENETRESET)
@ std_future_error
A future error exception was thrown.
@ enfile
Too many open files in system (ENFILE)
@ eproto
Protocol error (EPROTO)
@ fits_bad_index_key
FITS: illegal indexed keyword name (e.g. 'TFORM1000')
@ fits_group_not_found
FITS: group not found.
@ fits_bad_i2c
FITS: bad int to formatted string conversion.
@ fits_not_logical_col
FITS: this is not a logical data type column.
@ fits_bad_group_attach
FITS: bad group attach.
@ fits_bad_floatkey
FITS: can't interpret keyword value as float.
@ fits_write_error
FITS: error writing to FITS file.
@ fits_bad_date
FITS: error in date or time conversion.
@ etimedout
Connection timed out (ETIMEDOUT)
@ std_filesystem_error
A filesystem error exception was thrown.
@ cuda_profiler_not_initialized
CUDA: profiler not initialized: call cudaProfilerInitialize()
@ fits_bad_fileptr
FITS: invalid fitsfile pointer.
@ fits_bad_tbcol
FITS: TBCOLn keyword value < 0 or > rowlength.
@ fits_not_group_table
FITS: Grouping function error.
@ cuda_mps_max_connections_reached
CUDA: the hardware resources required to support device connections have been exhausted.
@ std_format_error
A format library exception was thrown.
@ cuda_invalid_norm_setting
CUDA: read as normalized float not supported for 32-bit non float type.
@ cuda_devices_unavailable
CUDA: CUDA-capable device(s) is/are busy or unavailable.
@ cuda_hardware_stack_error
CUDA: hardware stack error.
@ std_length_error
A length error exception was thrown.
@ fits_shared_nofile
FITS: attempt to open/create lock file failed.
@ notfound
An item was not found.
@ cuda_texture_fetch_failed
CUDA: fetch from texture failed.
@ cuda_shared_object_init_failed
CUDA: shared object initialization failed.
@ ebusy
Device or resource busy (EBUSY)
@ cuda_invalid_symbol
CUDA: invalid device symbol.
@ efbig
File too large (EFBIG)
@ std_overflow_error
An overflow exception was thrown.
@ enomsg
No message of desired type (ENOMSG)
@ std_invalid_argument
An invalid argument exception was thrown.
@ fits_bad_wcs_proj
FITS: unsupported type of celestial projection.
@ cuda_peer_access_not_enabled
CUDA: peer access has not been enabled.
@ fits_bad_datatype
FITS: illegal datatype code value.
@ fits_no_simple
FITS: Primary array doesn't start with SIMPLE.
@ fits_ngp_eof
FITS: end of file encountered and not expected.
@ fits_bad_row_width
FITS: sum of column widths not = NAXIS1.
@ error
A general error has occurred.
@ fits_bad_doublekey
FITS: can't interpret keyword value as double.
@ fits_shared_nomem
FITS: no memory in shared memory driver.
@ cuda_misaligned_address
CUDA: misaligned address.
@ cuda_invalid_texture_binding
CUDA: texture is not bound to a pointer.
@ fits_url_parse_error
FITS: failed to parse input file URL.
@ cuda_launch_pending_count_exceeded
CUDA: launch failed because launch would exceed cudaLimitDevRuntimePendingLaunchCount.
@ enetdown
Network is down (ENETDOWN)
@ fits_no_pcount
FITS: couldn't find PCOUNT keyword.
@ enospc
No space left on device (ENOSPC)
@ liberr
An error was returned by a library.
@ fits_bad_intkey
FITS: can't interpret keyword value as integer.
@ cuda_not_yet_implemented
CUDA: feature not yet implemented.
@ fits_wcs_error
FITS: error in celestial coordinate calculation.
@ enolck
No locks available (ENOLCK)
@ cuda_texture_not_bound
CUDA: cannot fetch from a texture that is not bound.
@ econnaborted
Software caused connection abort (ECONNABORTED)
@ cuda_device_already_in_use
CUDA: exclusive-thread device already in use by a different thread.
@ cuda_success
CUDA: no error.
@ cuda_not_permitted
CUDA: operation not permitted.
@ fits_parse_bad_output
FITS: Output file not of proper type.
@ eidrm
Identifier removed (EIDRM)
@ fits_hdu_already_tracked
FITS: hdu already tracked.
@ epipe
Broken pipe (EPIPE)
@ fits_ngp_err_fopen
FITS: fopen() failed, cannot open template file.
@ cuda_invalid_ptx
CUDA: a PTX JIT compilation failed.
@ cuda_unknown
CUDA: unknown error.
@ fits_parse_lrg_vector
FITS: vector result too large to return in array.
@ cuda_invalid_resource_handle
CUDA: invalid resource handle.
@ einprogress
Operation now in progress (EINPROGRESS)
@ cuda_address_of_constant
CUDA: invalid address of constant.
@ cuda_prior_launch_failure
CUDA: unspecified launch failure in prior launch.
@ cuda_launch_max_depth_exceeded
CUDA: launch would exceed maximum depth of nested launches.
@ cuda_cooperative_launch_too_large
CUDA: too many blocks in cooperative launch.
@ fits_file_not_opened
FITS: could not open the named file.
@ cuda_insufficient_driver
CUDA: CUDA driver version is insufficient for CUDA runtime version.
@ fits_bad_nettimeout
FITS: bad value for file download timeout setting.
@ cuda_launch_out_of_resources
CUDA: too many resources requested for launch.
@ ebadf
Bad file descriptor (EBADF)
@ gnuploterr
An error was returned by gnuplot.
@ enomem
Cannot allocate memory (ENOMEM)
@ fits_neg_rows
FITS: negative number of rows in table.
@ fits_bad_c2f
FITS: bad formatted string to float conversion.
@ cuda_invalid_address_space
CUDA: operation not supported on global/shared address space.
@ fits_no_end
FITS: couldn't find END keyword.
@ fits_not_btable
FITS: the CHDU is not a binary table extension.
@ cuda_profiler_already_started
CUDA: profiler already started.
@ eisconn
Transport endpoint is already connected (EISCONN)
@ fits_bad_f2c
FITS: bad float to formatted string conversion.
@ freeerr
An error occurred during memory de-allocation.
@ cuda_captured_event
CUDA: operation not permitted on an event last recorded in a capturing stream.
@ cuda_array_is_mapped
CUDA: array is mapped.
@ fits_bad_logicalkey
FITS: can't interpret keyword value as logical.
@ fits_seek_error
FITS: error seeking position in file.
@ cuda_stream_capture_unjoined
CUDA: capturing stream has unjoined work.
@ std_underflow_error
An underflow exception was thrown.
@ cuda_invalid_graphics_context
CUDA: invalid OpenGL or DirectX context.
@ cuda_jit_compiler_not_found
CUDA: PTX JIT compiler library not found.
@ envnotset
A environment variable was not set.
@ fits_bad_url_prefix
FITS: invalid URL prefix on file name.
static constexpr error_t fits_status2error_t(const int &err)
Convert a FITS status code to error_t.