NVIDIA/AMGX

Warnings with xlC compiler

開放

#93 建立於 2020年4月2日

 (3 則留言) (0 個反應) (0 位負責人)Cuda (186 個分叉)auto 404
enhancementhelp wanted

倉庫指標

星標
 (679 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Hi all,

I recently built AMGX using xlC (Version: 16) as my host compiler, while building the code I hit a number of warnings:

warning: 1540-5200 The option "-dynamic" is not supported.

1500-036: (I) The NOSTRICT option (default at OPT(3)) has the potential to alter the semantics of a program. Please refer to documentation on the STRICT/NOSTRICT option for more information.

And it looks like delete is being applied to pointers allocated with new[] in a number of places. For example: AMGX/core/src/matrix_coloring/serial_greedy_bfs.cu:752:1: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete A_col_indices;

貢獻者指南