make warning message clearer
@@ -171,8 +171,10 @@ def get_compiler_setting(use_hip):
# 3. built-in CUB (for CUDA 11+)
cub_path = os.environ.get('CUB_PATH', '')
if cub_path:
- utils.print_warning('CUB_PATH is detected and will be honored, but it '
- 'will be deprecated in favor of CUPY_CUB_PATH')
+ utils.print_warning('CUB_PATH is DEPRECATED!',
+ 'CUB_PATH: ' + cub_path,
+ 'It will be used now, but in the future',
+ 'only CUPY_CUB_PATH will be honored')
else:
cub_path = os.environ.get('CUPY_CUB_PATH', '')
cupy_header = os.path.join(os.path.dirname(os.path.realpath(__file__)),
